Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

SyncPlanDrawer.h File Reference

Utilities by dumping a drawing of the current state of a SyncPlan instance. More...

#include <ogdf/basic/Graph.h>
#include <ogdf/basic/GraphAttributes.h>
#include <ogdf/basic/GraphCopy.h>
#include <ogdf/basic/LayoutModule.h>
#include <ogdf/basic/List.h>
#include <ogdf/basic/basic.h>
#include <ogdf/cluster/ClusterGraph.h>
#include <ogdf/fileformats/GraphIO.h>
#include <functional>
#include <memory>
#include <utility>

Go to the source code of this file.

Classes

class  ogdf::sync_plan::SyncPlanDrawer
 Utilities by dumping a drawing of the current state of a SyncPlan instance. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::sync_plan
 

Functions

std::unique_ptr< std::pair< GraphCopy, GraphAttributes > > ogdf::sync_plan::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 planarizeClusterBorderCrossings() More...
 
void ogdf::sync_plan::formatNode (node n, GraphAttributes *ga, int group)
 Simple util for apply a default style to nodes, including a group-based coloring. More...
 
void ogdf::sync_plan::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() More...
 

Detailed Description

Utilities by dumping a drawing of the current state of a SyncPlan instance.

Author
Simon D. Fink ogdf@.nosp@m.niko.nosp@m..fink.nosp@m..bay.nosp@m.ern
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file SyncPlanDrawer.h.