|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
42 #include <unordered_map>
45 class ClusterGraphAttributes;
46 class GraphAttributes;
64 template<
typename A,
typename T>
67 const bool result =
readData(GA, elem, dataTag);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Includes declaration of graph class.
bool readAttributes(A &GA, const T &elem, const pugi::xml_node xmlElem)
bool readEdges(Graph &G, GraphAttributes *GA, const pugi::xml_node rootTag)
xml_object_range< xml_node_iterator > children() const
GraphMLParser(std::istream &in)
bool readData(GraphAttributes &GA, const node &v, const pugi::xml_node nodeData)
Representation of clusters in a clustered graph.
Stores additional attributes of a clustered graph (like layout information).
pugi::xml_node m_graphTag
Data type for general directed graphs (adjacency list representation).
Basic declarations, included by all source files.
std::unordered_map< string, node > m_nodeId
bool readNodes(Graph &G, GraphAttributes *GA, const pugi::xml_node rootTag)
std::unordered_map< string, string > m_attrName
Class for the representation of edges.
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
bool readClusters(Graph &G, ClusterGraph &C, ClusterGraphAttributes *CA, const cluster &rootCluster, const pugi::xml_node clusterRoot)
Representation of clustered graphs.
Class for the representation of nodes.