|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
123 bool isProperDummy(
node v)
const;
129 int numberOfDummyNodes()
const;
131 int numberOfPhantomDummyNodes()
const;
133 int numberOfProperDummyNodes()
const;
136 void consistencyCheck()
const;
146 int maxSubGraph()
const;
154 int numberOfBasicGraphs()
const;
157 void readGML(
const char* fileName);
159 void writeGML(
const char* fileName)
const;
162 std::unique_ptr<GraphCopy> getBasicGraph(
int i)
const;
188 bool addGraph(
const Graph& G);
192 if (!m_GA.
has(attr)) {
The Base class for simultaneous graph drawing.
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.
Creates variety of possible SimDraw creations.
Includes declaration of graph class.
int index() const
Returns the (unique) node index.
const GraphAttributes & constGraphAttributes() const
returns graphattributes
bool & isDummy(node v)
returns true if node v is marked as dummy
bool compareById(node v, node w) const
compares two nodes v and w by their ids
Calls modified algorithms for simdraw instances.
CompareBy & compareBy()
returns compare mode
bool isPhantomDummy(node v) const
returns true if node v is a cost zero dummy node
virtual void clear()
Removes all nodes and all edges from the graph.
Graph m_G
the underlying graph
bool compareByLabel(const GraphAttributes &vGA, node v, const GraphAttributes &wGA, node w) const
compares two nodes v and w by their labels
int numberOfNodes() const
Returns the number of nodes in the graph.
const CompareBy & compareBy() const
returns compare mode
GraphAttributes m_GA
the underlying graphattributes
Declaration of graph copy classes.
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
void addAttributes(long attr)
Enables attributes specified by attr and allocates required memory.
Interface for simdraw manipulators.
GraphAttributes & constGraphAttributes()
returns graphattributes
void addAttribute(long attr)
gives access to new attribute if not already given
NodeArray< bool > m_isDummy
dummy nodes may be colored differently
const Graph & constGraph() const
returns graph
Offers predefined SimDraw creations.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
CompareBy m_compareBy
compare mode
int numberOfNodes() const
returns number of nodes
Graph & constGraph()
returns graph
const bool & isDummy(node v) const
returns true if node v is marked as dummy
CompareBy
Types for node comparison.
Class for the representation of nodes.
const string & label(node v) const
Returns the label of node v.
bool has(long attr) const
Returns true iff all attributes in attr are available.