simple layout algorithms, which used nodes and layout them in a simple way (like grid layout)
extends OpenCAGE.Layouts.Layout
abstract class for all simple layouts. This mains that only node information is used (and not the edge information) to get new positions of nodes. To get the Node_Display of Object_Display_Controller (and not an Object_Display (this could also be an Edge_Display) we use the Visitor Pattern Object_Visitor_Layout
private Glib.Gint Normal_Horizontal_Node_Distance |
standard horizontal space beetween two nodes
private Glib.Gint Normal_Vertical_Node_Distance |
standard vertical space beetween two nodes
private Graphics.Points.Point Position |
position at which is layouted a node
Prepares
applies simple layout at a node
starts layout algorithm
Finishs Layouting [This description is adopted from 'OpenCAGE.Layouts.Layout'.]
calculates the horizontal window size
calculates the horizontal window size; gets the required values from the given object container