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