Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
headless_graph_loader.h
Go to the documentation of this file.
1#pragma once
2
3#include <QString>
4#include <QtGlobal>
5
6class Graph;
7
29{
30 bool ok = false;
31
32 int fileType = -1;
33 QString fileName;
34 QString netName;
35
36 int totalNodes = 0;
37 int tiesGraph = 0; // canonical ties == Graph::edgesEnabled()
38 qint64 elapsedTime = 0; // ms
39 QString message;
40};
41
43 Graph &graph,
44 const QString &fileName,
45 const QString &codecName,
46 int fileFormat,
47 const QString &delimiter,
48 int sm_two_mode,
49 bool sm_has_labels);
The Graph class This is the main class for a Graph, used in conjuction with GraphVertex,...
Definition graph.h:74
HeadlessLoadResult loadGraphHeadless(Graph &graph, const QString &fileName, const QString &codecName, int fileFormat, const QString &delimiter, int sm_two_mode, bool sm_has_labels)
Loads a graph from a given file, without any UI.
Definition headless_graph_loader.cpp:15
Definition headless_graph_loader.h:29
QString message
Definition headless_graph_loader.h:39
int fileType
Definition headless_graph_loader.h:32
bool ok
Definition headless_graph_loader.h:30
qint64 elapsedTime
Definition headless_graph_loader.h:38
QString fileName
Definition headless_graph_loader.h:33
int tiesGraph
Definition headless_graph_loader.h:37
int totalNodes
Definition headless_graph_loader.h:36
QString netName
Definition headless_graph_loader.h:34