|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
26 std::vector<std::pair<adjEntry, adjEntry>> augmentation;
31 throw std::runtime_error(
"Not c-planar!");
44 for (
edge e : added) {
The namespace for all OGDF objects.
Includes declaration of graph class.
static bool write(const Graph &G, const string &filename, WriterFunc writer=nullptr)
Writes graph G to a file with name filename and infers the format to use from the file's extension.
Functionality for temporarily hiding edges in constant time.
void randomClusterPlanarGraph(Graph &G, ClusterGraph &CG, int clusters, int node_per_cluster, int edges_per_cluster)
Create a random planar graph with a c-planar clustering.
Declaration of class ClusterPlanarizationLayout Planarization approach for cluster graphs.
The cluster planarization layout algorithm.
Declaration and implementation of NodeSet, EdgeSet, and AdjEntrySet classes.
Stores additional attributes of a clustered graph (like layout information).
void setStoreAugmentation(std::vector< std::pair< adjEntry, adjEntry >> *augmentation)
When set to a non-null pointer, will contain the augmentation edges to make the graph c-connected c-p...
virtual bool clusterPlanarEmbed(ClusterGraph &CG, Graph &G)
Returns true, if CG is cluster-planar, false otherwise. If true, CG contains a cluster-planar embeddi...
ClusterPlanarity testing in quadratic time using the Synchronized Planarity approach.
void hide(edge e)
Hides the given edge.
Declares class GraphIO which provides access to all graph read and write functionality.
Data type for general directed graphs (adjacency list representation).
Utilities for reducing from Cluster Planarity to SyncPlan.
void insertAugmentationEdges(const ClusterGraph &CG, Graph &G, std::vector< std::pair< adjEntry, adjEntry >> &augmentation, EdgeSet<> *added=nullptr, bool embedded=true, bool assert_minimal=true)
Inserts augmentation edges to make a c-plane graph c-connected while maintaining the combinatorial em...
static const long all
Enables all available flags.
virtual void call(Graph &G, ClusterGraphAttributes &acGraph, ClusterGraph &cGraph, bool simpleCConnect=true)
Calls cluster planarization layout with cluster-graph attributes acGraph.
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
Class for the representation of edges.
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
Declaration of doubly linked lists and iterators.
Declaration of randomized clustering generators.
Representation of clustered graphs.