Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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
41namespace ogdf {
42class SimDraw;
43
45
52public:
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}
Includes declaration of graph class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Module for simdraw manipulator classes.
Basic declarations, included by all source files.
Class for the representation of edges.
Definition Graph_d.h:364
Data type for general directed graphs (adjacency list representation).
Definition Graph_d.h:866
Creates variety of possible SimDraw creations.
void clearESG()
clears edgeSubGraphs value
void readGraph(const Graph &G)
reads a Graph
uint32_t & SubGraphBits(edge e)
returns SubGraphBits from edge e
void createRandom(int numberOfNodes, int numberOfEdges, int numberOfBasicGraphs)
randomly creates a simdraw instance
void randomESG3(int doubleESGProbability=50, int tripleESGProbability=25)
randomly chose edgeSubGraphs value for three graphs
void randomESG(int graphNumber)
randomly chose edgeSubGraphs value for graphNumber graphs
void randomESG2(int doubleESGProbability=50)
randomly chose edgeSubGraphs value for two graphs
uint32_t & SubGraphBits(edge e) const
returns SubGraphBits from edge e
SimDrawCreator(SimDraw &SD)
constructor
The Base class for simultaneous graph drawing.
Definition SimDraw.h:55
Interface for simdraw manipulators.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
The namespace for all OGDF objects.