![]() |
Code Documentation 3.4
Social Network Visualizer
|
Global definitions, constants, enumerations, and utility types for SocNetV. More...
#include <QPair>#include <QMetaType>#include <QString>

Go to the source code of this file.
Classes | |
| struct | ClickedEdge |
| Carries the identity and type of a clicked edge. More... | |
| class | MyEdge |
| Lightweight value type representing a directed or undirected edge. More... | |
| class | GraphDistance |
| Holds a (target, distance) pair for use in Dijkstra's priority queue. More... | |
| class | GraphDistancesCompare |
| Min-priority comparator for GraphDistance (used in std::priority_queue). More... | |
| class | PairVF |
| (value, frequency) pair, used in distribution charts. More... | |
| class | PairVFCompare |
| Min-priority comparator for PairVF (used in std::priority_queue). More... | |
Macros | |
| #define | SOCNETV_NAMESPACE SocNetV |
| #define | SOCNETV_BEGIN_NAMESPACE |
| #define | SOCNETV_END_NAMESPACE } |
| #define | SOCNETV_USE_NAMESPACE using namespace SOCNETV_NAMESPACE; |
Typedefs | |
| typedef QPair< int, int > | SelectedEdge |
| Identifies a selected edge by its two endpoint vertex numbers. | |
Enumerations | |
| enum | NodeShape { Box , Circle , Diamond , Ellipse , Triangle , Star , Person , PersonB , Bugs , Heart , Dice , Custom } |
| Possible shapes for nodes in the network visualization. More... | |
| enum | FileType { NOT_SAVED = 0 , GRAPHML = 1 , PAJEK = 2 , ADJACENCY = 3 , GRAPHVIZ = 4 , UCINET = 5 , GML = 6 , EDGELIST_WEIGHTED = 7 , EDGELIST_SIMPLE = 8 , TWOMODE = 9 , UNRECOGNIZED = -1 } |
| Supported network file formats. More... | |
| enum | EdgeType { Directed = 0 , Reciprocated = 1 , Undirected = 2 } |
| Possible edge types in the network. More... | |
| enum | IndexType { DC = 1 , CC = 2 , IRCC = 3 , BC = 4 , SC = 5 , EC = 6 , PC = 7 , IC = 8 , EVC = 9 , DP = 10 , PRP = 11 , PP = 12 } |
| Centrality / prestige index identifiers. More... | |
| enum | ChartType { None = -1 , Spline = 0 , Area = 1 , Bars = 2 } |
| Chart style for prominence distribution visualizations. More... | |
| enum | NetworkRequestType { Generic = 0 , Crawler = 1 , CheckUpdate = 2 } |
| Identifies the purpose of an outgoing network request. More... | |
Variables | |
| static SOCNETV_BEGIN_NAMESPACE const QString | VERSION = "3.4" |
| static constexpr double | M_PI = 3.14159265358979323846 |
| static constexpr double | M_PI_3 = 1.04719755119659774615 |
| static constexpr double | M_PI_X_2 = 6.28318530717958647692 |
| static const int | USER_MSG_INFO = 0 |
| static const int | USER_MSG_CRITICAL = 1 |
| static const int | USER_MSG_CRITICAL_NO_NETWORK = 2 |
| static const int | USER_MSG_CRITICAL_NO_EDGES = 3 |
| static const int | USER_MSG_QUESTION = 4 |
| static const int | USER_MSG_QUESTION_CUSTOM = 5 |
| static const int | SUBGRAPH_CLIQUE = 1 |
| static const int | SUBGRAPH_STAR = 2 |
| static const int | SUBGRAPH_CYCLE = 3 |
| static const int | SUBGRAPH_LINE = 4 |
| static const int | MATRIX_ADJACENCY = 1 |
| static const int | MATRIX_DISTANCES = 2 |
| static const int | MATRIX_DEGREE = 3 |
| static const int | MATRIX_LAPLACIAN = 4 |
| static const int | MATRIX_ADJACENCY_INVERSE = 5 |
| static const int | MATRIX_GEODESICS = 6 |
| static const int | MATRIX_REACHABILITY = 7 |
| static const int | MATRIX_ADJACENCY_TRANSPOSE = 8 |
| static const int | MATRIX_COCITATION = 9 |
| static const int | MATRIX_DISTANCES_EUCLIDEAN = 12 |
| static const int | MATRIX_DISTANCES_MANHATTAN = 13 |
| static const int | MATRIX_DISTANCES_JACCARD = 14 |
| static const int | MATRIX_DISTANCES_HAMMING = 15 |
| static const int | MATRIX_DISTANCES_CHEBYSHEV = 16 |
Global definitions, constants, enumerations, and utility types for SocNetV.
All symbols are defined inside the SocNetV namespace. Q_DECLARE_METATYPE registrations are placed outside the namespace, as required by Qt's metatype system.
| #define SOCNETV_BEGIN_NAMESPACE |
| #define SOCNETV_END_NAMESPACE } |
| #define SOCNETV_NAMESPACE SocNetV |
| #define SOCNETV_USE_NAMESPACE using namespace SOCNETV_NAMESPACE; |
Identifies a selected edge by its two endpoint vertex numbers.
Defined here (not in graphicswidget.h) so that Graph and GraphicsWidget can both use it without a circular include dependency.
| enum ChartType |
Chart style for prominence distribution visualizations.
| Enumerator | |
|---|---|
| None | |
| Spline | |
| Area | |
| Bars | |
| enum EdgeType |
| enum FileType |
Supported network file formats.
| enum IndexType |
Centrality / prestige index identifiers.
| enum NetworkRequestType |
| enum NodeShape |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |