|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
49 class GraphAttributes;
56 using Iterator = std::vector<Token>::const_iterator;
71 std::string& nodeDefault,
EdgeArray<bool>& edgeDone, std::string& edgeDefault);
76 inline void tokenError(
const char* str,
bool got =
true);
77 inline void tokenError(
const std::string& str,
bool got =
true);
80 explicit Parser(std::istream& is);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Includes declaration of graph class.
bool readPropertyStatement(GraphAttributes *GA, const Attribute &attr, NodeArray< bool > &nodeDone, std::string &nodeDefault, EdgeArray< bool > &edgeDone, std::string &edgeDefault)
bool read(Graph &G, ClusterGraph &C, ClusterGraphAttributes &CA)
void tokenError(const char *str, bool got=true)
std::vector< Token >::const_iterator Iterator
bool readStatement(Graph &G, GraphAttributes *GA, ClusterGraph *C)
Representation of clusters in a clustered graph.
Stores additional attributes of a clustered graph (like layout information).
Declares a TLP file format lexer class and related structures.
RegisteredArray for nodes, edges and adjEntries of a graph.
bool readClusterStatement(Graph &G, ClusterGraph *C, cluster c)
Data type for general directed graphs (adjacency list representation).
bool readNodes(Graph &G, ClusterGraph *C, cluster c)
bool readProperty(Graph &G, GraphAttributes *GA)
bool read(Graph &G, ClusterGraph &C)
bool readCluster(Graph &G, ClusterGraph *C, cluster c)
bool applyNodes(Graph &G, ClusterGraph *C, cluster c, const std::string &str)
std::map< int, edge > m_idEdge
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
bool readGraph(Graph &G, GraphAttributes *GA, ClusterGraph *C)
bool read(Graph &G, GraphAttributes &GA)
Representation of clustered graphs.
std::map< int, node > m_idNode
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.