Edge insertion algorithm for clustered graphs. More...
#include <ogdf/cluster/CPlanarEdgeInserter.h>
Public Member Functions | |
| CPlanarEdgeInserter () | |
| virtual | ~CPlanarEdgeInserter () |
| void | call (ClusterPlanRep &CPR, CombinatorialEmbedding &E, Graph &G, const List< NodePair > &origEdges, List< edge > &newEdges) |
| PostProcessType | getPostProcessing () |
| void | setPostProcessing (PostProcessType p) |
Protected Member Functions | |
| void | constructDualGraph (ClusterPlanRep &CPR, CombinatorialEmbedding &E, EdgeArray< edge > &arcRightToLeft, EdgeArray< edge > &arcLeftToRight, FaceArray< node > &nodeOfFace, EdgeArray< edge > &arcTwin) |
| void | findShortestPath (const CombinatorialEmbedding &E, node s, node t, node sDummy, node tDummy, SList< adjEntry > &crossed, FaceArray< node > &nodeOfFace) |
| edge | insertEdge (ClusterPlanRep &CPR, CombinatorialEmbedding &E, const NodePair &np, FaceArray< node > &nodeOfFace, EdgeArray< edge > &arcRightToLeft, EdgeArray< edge > &arcLeftToRight, EdgeArray< edge > &arcTwin, NodeArray< cluster > &clusterOfFaceNode, const SList< adjEntry > &crossed) |
| void | postProcess () |
| void | setArcStatus (edge eArc, node oSrc, node oTgt, const ClusterGraph &CG, NodeArray< cluster > &clusterOfFaceNode, EdgeArray< edge > &arcTwin) |
Private Types | |
| enum | PostProcessType { PostProcessType::None, PostProcessType::RemoveReinsert } |
Private Member Functions | |
| void | deriveFaceCluster (ClusterPlanRep &CPR, CombinatorialEmbedding &E, const ClusterGraph &CG, FaceArray< node > &nodeOfFace, NodeArray< cluster > &clusterOfFaceNode) |
| void | writeDual (const char *fileName) |
| void | writeGML (ostream &os, const Layout &drawing) |
Private Attributes | |
| EdgeArray< adjEntry > | m_arcOrig |
| Graph | m_dualGraph |
| EdgeArray< int > | m_eStatus |
| Graph * | m_originalGraph |
| PostProcessType | m_ppType |
Edge insertion algorithm for clustered graphs.
Definition at line 47 of file CPlanarEdgeInserter.h.
|
strongprivate |
| Enumerator | |
|---|---|
| None | |
| RemoveReinsert | |
Definition at line 50 of file CPlanarEdgeInserter.h.
|
inline |
Definition at line 54 of file CPlanarEdgeInserter.h.
|
inlinevirtual |
Definition at line 56 of file CPlanarEdgeInserter.h.
| void ogdf::CPlanarEdgeInserter::call | ( | ClusterPlanRep & | CPR, |
| CombinatorialEmbedding & | E, | ||
| Graph & | G, | ||
| const List< NodePair > & | origEdges, | ||
| List< edge > & | newEdges | ||
| ) |
|
protected |
|
private |
|
protected |
|
inline |
Definition at line 70 of file CPlanarEdgeInserter.h.
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 65 of file CPlanarEdgeInserter.h.
|
private |
|
private |
Definition at line 119 of file CPlanarEdgeInserter.h.
|
private |
Definition at line 117 of file CPlanarEdgeInserter.h.
|
private |
Definition at line 118 of file CPlanarEdgeInserter.h.
|
private |
Definition at line 116 of file CPlanarEdgeInserter.h.
|
private |
Definition at line 120 of file CPlanarEdgeInserter.h.