|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
47 class PlanarGridLayoutModule;
58 const ClusterGraph& CG,
const EdgeArray<List<std::pair<adjEntry, cluster>>>& subdivisions,
60 const std::function<
edge(
edge)>& translate = [](
edge e) ->
edge {
return e; });
64 GraphAttributes& GA, PlanarGridLayoutModule& layout,
adjEntry adjExternal =
nullptr);
78 std::unique_ptr<GraphAttributes>
own_GA;
91 void layout(
bool format =
true,
bool components =
true);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Declaration of class GraphAttributes which extends a Graph by additional attributes.
List< int > reuse_bc_edge_idx
Includes declaration of graph class.
internal::EdgeArrayBase2< Value, WithDefault > EdgeArray
RegisteredArray for labeling the edges in a Graph with an arbitrary Value.
Declaration of interface for layout algorithms (class LayoutModule)
Utilities by dumping a drawing of the current state of a SyncPlan instance.
const GraphIO::SVGSettings & getSvg() const
A class for modelling and solving Synchronized Planarity instances.
AdjElement * adjEntry
The type of adjacency entries.
std::unique_ptr< LayoutModule > planar_layout
EdgeElement * edge
The type of edges.
Condensed settings for drawing SVGs.
void styleClusterBorder(const ClusterGraph &CG, const EdgeArray< List< std::pair< adjEntry, cluster >>> &subdivisions, GraphAttributes &GA, const std::function< edge(edge)> &translate=[](edge e) -> edge { return e;})
Properly style a cluster border inserted by planarizeClusterBorderCrossings()
List< int > reuse_g_edge_idx
Declares class GraphIO which provides access to all graph read and write functionality.
NodeElement * node
The type of nodes.
Declaration of graph copy classes.
const GraphAttributes & getBC_GA() const
std::unique_ptr< std::pair< GraphCopy, GraphAttributes > > drawClusterGraph(ClusterGraph &CG, GraphAttributes &GA, PlanarGridLayoutModule &layout, adjEntry adjExternal=nullptr)
Draw a graph using a given planar layout by turning its cluster borders into edges via planarizeClust...
virtual ~SyncPlanDrawer()
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
std::unique_ptr< LayoutModule > non_planar_layout
void formatNode(node n, GraphAttributes *ga, int group)
Simple util for apply a default style to nodes, including a group-based coloring.
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
Declaration of doubly linked lists and iterators.
std::unique_ptr< GraphAttributes > own_GA