Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

SimDrawCreator.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
36 #include <ogdf/basic/basic.h>
38 
39 #include <cstdint>
40 
41 namespace ogdf {
42 class SimDraw;
43 
45 
52 public:
55 
57  uint32_t& SubGraphBits(edge e) { return m_GA->subGraphBits(e); }
58 
60  uint32_t& SubGraphBits(edge e) const { return m_GA->subGraphBits(e); }
61 
63  void readGraph(const Graph& G) { *m_G = G; }
64 
66 
73  void randomESG2(int doubleESGProbability = 50);
74 
76 
83  void randomESG3(int doubleESGProbability = 50, int tripleESGProbability = 25);
84 
86 
91  void randomESG(int graphNumber);
92 
94 
100  void clearESG();
101 
103 
112  void createRandom(int numberOfNodes, int numberOfEdges, int numberOfBasicGraphs);
113 };
114 
115 }
ogdf::SimDraw
The Base class for simultaneous graph drawing.
Definition: SimDraw.h:55
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
GraphAttributes.h
Declaration of class GraphAttributes which extends a Graph by additional attributes.
ogdf::SimDrawCreator
Creates variety of possible SimDraw creations.
Definition: SimDrawCreator.h:51
Graph.h
Includes declaration of graph class.
ogdf::SimDrawCreator::SubGraphBits
uint32_t & SubGraphBits(edge e) const
returns SubGraphBits from edge e
Definition: SimDrawCreator.h:60
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:869
ogdf::SimDrawManipulatorModule
Interface for simdraw manipulators.
Definition: SimDrawManipulatorModule.h:62
ogdf::SimDrawCreator::SimDrawCreator
SimDrawCreator(SimDraw &SD)
constructor
Definition: SimDrawCreator.h:54
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::EdgeElement
Class for the representation of edges.
Definition: Graph_d.h:363
SimDrawManipulatorModule.h
Module for simdraw manipulator classes.
ogdf::SimDrawCreator::readGraph
void readGraph(const Graph &G)
reads a Graph
Definition: SimDrawCreator.h:63
ogdf::SimDrawCreator::SubGraphBits
uint32_t & SubGraphBits(edge e)
returns SubGraphBits from edge e
Definition: SimDrawCreator.h:57