|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
42 namespace energybased {
62 v_lower_level = v_low;
63 v_higher_level = v_high;
72 void set_x(
double x) { position.m_x = x; }
74 void set_y(
double y) { position.m_y = y; }
78 double get_x()
const {
return position.m_x; }
80 double get_y()
const {
return position.m_y; }
158 void init_mult_values();
180 node dedicated_sun_node;
183 node dedicated_pm_node;
The namespace for all OGDF objects.
double get_angle_2() const
Includes declaration of graph class.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
void set_NodeAttributes(double w, double h, DPoint pos, node v_low, node v_high)
List< node > * get_dedicated_moon_node_List_ptr()
List< double > lambda
the factors lambda for scaling the length of this edge relative to the pass between v's sun and the s...
void set_angle_1(double a)
void set_dedicated_sun_distance(double d)
double get_angle_1() const
double angle_2
solar systems have to be placed
void set_dedicated_sun_node(node v)
helping data structure that stores the graphical attributes of a node that are needed for the force-d...
node v_higher_level
the corresponding node in the higher level graph for divide et impera v_lower_level is the original g...
void set_lower_level_node(node v)
void set_position(DPoint pos)
List< double > * get_lambda_List_ptr()
node v_lower_level
the corresponding node in the lower level graph
void set_height(double h)
node get_subgraph_node() const
List< node > * moon_List_ptr
a pointer to the moon_List
int mass
the mass (= number of previously collapsed nodes) of this node
void set_angle_2(double a)
double get_height() const
double dedicated_sun_distance
the distance to the dedicated sun node of the galaxy of this node
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
node get_original_node() const
List< node > moon_List
the list of all dedicated moon nodes (!= nil if type == 3)
int type
1 = sun node (s_node); 2 = planet node (p_node) without a dedicate moon 3 = planet node with dedicate...
void set_higher_level_node(node v)
void set_subgraph_node(node v)
node get_higher_level_node() const
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
node get_lower_level_node() const
void set_original_node(node v)
DPoint get_position() const
Declaration of doubly linked lists and iterators.
double get_dedicated_sun_distance() const
std::istream & operator>>(std::istream &is, TokenIgnorer token)
bool placed
indicates weather an initial position has been assigned to this node or not
List< node > * get_neighbour_sun_node_List_ptr()
void set_copy_node(node v)
Class for the representation of nodes.
void set_dedicated_pm_node(node v)
node get_dedicated_pm_node() const
node get_copy_node() const
List< node > * neighbour_s_node_List_ptr
a pointer to to the neighbour_s_node list
node get_dedicated_sun_node() const