|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
93 void initReverseIndizes();
112 edge getEdge(
unsigned int index);
113 node getNode(
unsigned int index);
150 void reInsertAll(std::vector<MultilevelGraph*>& components);
152 bool associate,
int index = -1);
154 bool associate,
int index = -1);
155 void writeGML(std::ostream& os);
156 void writeGML(
const char* fileName);
168 bool deleteDoubleEndges,
int adjustEdgeLengths);
170 node undoLastMerge();
172 void updateReverseIndizes();
174 void updateMergeWeights();
The namespace for all OGDF objects.
void radius(node v, double r)
Stores additional attributes of a graph (like layout information).
Declaration of class GraphAttributes which extends a Graph by additional attributes.
std::vector< std::pair< int, double > > m_position
Includes declaration of graph class.
#define OGDF_DEPRECATED(reason)
Mark a class / member / function as deprecated.
int index() const
Returns the (unique) node index.
std::vector< NodeMerge * > m_changes
GraphAttributes & getGraphAttributes() const
Returns attributes of current level graph as GraphAttributes.
double x(node v) const
Returns the x-coordinate of node v.
double averageRadius() const
std::map< int, double > m_radius
NodeArray< int > m_nodeAssociations
std::vector< int > m_changedEdges
double y(node v) const
Returns the y-coordinate of node v.
std::map< int, double > m_doubleWeight
NodeArray< double > & getRArray()
std::vector< node > m_reverseNodeIndex
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
EdgeArray< double > & getWArray()
std::vector< int > m_reverseNodeMergeWeight
std::vector< edge > m_reverseEdgeIndex
void weight(edge e, double weight)
Basic declarations, included by all source files.
std::map< int, int > m_source
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
NodeArray< double > m_radius
Class for the representation of edges.
std::vector< int > m_deletedEdges
EdgeArray< int > m_edgeAssociations
EdgeArray< double > m_weight
Class for the representation of nodes.
std::map< int, int > m_target
std::vector< int > m_changedNodes
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.