40 #include <unordered_map> 57 std::unordered_map<std::string, node>
m_nodeId;
79 explicit Parser(std::istream &is);
Declaration of class GraphAttributes which extends a Graph by additional attributes.
bool readNodes(Graph &G, GraphAttributes *GA)
Derived class of GraphObserver providing additional functionality to handle clustered graphs...
Data type for general directed graphs (adjacency list representation).
pugi::xml_node m_nodesTag
std::unordered_map< std::string, std::string > m_nodeAttr
pugi::xml_node m_edgesTag
std::unordered_map< std::string, std::string > m_edgeAttr
std::unordered_map< std::string, cluster > m_clusterId
Representation of clustered graphs.
pugi::xml_node m_graphTag
std::unordered_map< std::string, node > m_nodeId
Stores additional attributes of a graph (like layout information).
Class for the representation of edges.
Stores additional attributes of a clustered graph (like layout information).
Class for the representation of nodes.
bool readEdges(Graph &G, ClusterGraph *C, GraphAttributes *GA)
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
Representation of clusters in a clustered graph.
Includes declaration of graph class.
bool readCluster(Graph &G, ClusterGraph &C, ClusterGraphAttributes *CA, cluster rootCluster, const pugi::xml_node rootTag)
The namespace for all OGDF objects.
static void error(const pugi::xml_node tag, const std::string &msg)
bool readAttributes(GraphAttributes &GA, node v, const pugi::xml_node nodeTag)