Standard values for graphical attributes and layouts. More...
#include <ogdf/basic/LayoutStandards.h>
Static Public Member Functions | |
Global default node attributes | |
These attribute values are used by GraphAttributes as default graphical representation of nodes. | |
static double | defaultNodeWidth () |
Returns the global default width for nodes. | |
static void | setDefaultNodeWidth (double w) |
Sets the global default width for nodes to w . | |
static double | defaultNodeHeight () |
Returns the global default height for nodes. | |
static void | setDefaultNodeHeight (double h) |
Sets the global default height for nodes to h . | |
static Shape | defaultNodeShape () |
Returns the global default shape for nodes. | |
static void | setDefaultNodeShape (Shape s) |
Sets the global default shape for nodes to s . | |
static Stroke | defaultNodeStroke () |
Returns the global default stroke for nodes. | |
static Color | defaultNodeStrokeColor () |
Returns the global default stroke color for nodes. | |
static float | defaultNodeStrokeWidth () |
Returns the global default stroke width for nodes. | |
static void | setDefaultNodeStroke (Stroke stroke) |
Sets the global default stroke for nodes to stroke . | |
static Fill | defaultNodeFill () |
Returns the global default fill for nodes. | |
static Color | defaultNodeFillColor () |
Returns the global default fill color for nodes. | |
static void | setDefaultNodeFill (Fill fill) |
Sets the global default fill for nodes to fill . | |
Global default edge attributes | |
These attribute values are used by GraphAttributes as default graphical representation of edges. | |
static Stroke | defaultEdgeStroke () |
Returns the global default stroke for edges. | |
static Color | defaultEdgeStrokeColor () |
Returns the global default stroke color for edges. | |
static float | defaultEdgeStrokeWidth () |
Returns the global default stroke width for edges. | |
static void | setDefaultEdgeStroke (Stroke stroke) |
Sets the global default stroke for edges to stroke . | |
static EdgeArrow | defaultEdgeArrow () |
Returns the global default arrow type for edges. | |
static void | setDefaultEdgeArrow (EdgeArrow arrow) |
Sets the global default arrow type for edges to arrow . | |
Global default cluster attributes | |
These attribute values are used by ClusterGraphAttributes as default graphical representation of clusters. | |
static Stroke | defaultClusterStroke () |
Returns the global default stroke for clusters. | |
static Color | defaultClusterStrokeColor () |
Returns the global default stroke color for clusters. | |
static float | defaultClusterStrokeWidth () |
Returns the global default stroke width for clusters. | |
static void | setDefaultClusterStroke (Stroke stroke) |
Sets the global default stroke for cluster to stroke . | |
static Fill | defaultClusterFill () |
Returns the global default fill for clusters. | |
static Color | defaultClusterFillColor () |
Returns the global default fill color for clusters. | |
static void | setDefaultClusterFill (Fill fill) |
Sets the global default fill for clusters to fill . | |
Global default separation parameters | |
These values can be used by layout algorithms as useful settings for separation parameters. | |
static double | defaultNodeSeparation () |
Returns the global default node separation. | |
static void | setDefaultNodeSeparation (double d) |
Sets the global default node separation to d . | |
static double | defaultCCSeparation () |
Returns the global default separation between connected components. | |
static void | setDefaultCCSeparation (double d) |
Sets the global default separation between connected components to d . | |
Static Private Attributes | |
static double | s_defCCSeparation |
the default separation between connected components (for layout algorithms) (must be positive). | |
static Fill | s_defClusterFill |
the default cluster fill. | |
static Stroke | s_defClusterStroke |
the default cluster stroke. | |
static EdgeArrow | s_defEdgeArrow |
the default arrow type of an edge . | |
static Stroke | s_defEdgeStroke |
the default stroke of an edge. | |
static Fill | s_defNodeFill |
the default fill of a node. | |
static double | s_defNodeHeight |
the default height of a node (must be positive). | |
static double | s_defNodeSeparation |
the default node separation (for layout algorithms) (must be positive). | |
static Shape | s_defNodeShape |
the default shape of a node. | |
static Stroke | s_defNodeStroke |
the default stroke of a node. | |
static double | s_defNodeWidth |
the default width of a node (must be positive). | |
Standard values for graphical attributes and layouts.
Definition at line 43 of file LayoutStandards.h.
Returns the global default separation between connected components.
Definition at line 193 of file LayoutStandards.h.
Returns the global default fill for clusters.
Definition at line 164 of file LayoutStandards.h.
Returns the global default fill color for clusters.
Definition at line 167 of file LayoutStandards.h.
Returns the global default stroke for clusters.
Definition at line 152 of file LayoutStandards.h.
Returns the global default stroke color for clusters.
Definition at line 155 of file LayoutStandards.h.
Returns the global default stroke width for clusters.
Definition at line 158 of file LayoutStandards.h.
Returns the global default arrow type for edges.
Definition at line 139 of file LayoutStandards.h.
Returns the global default stroke for edges.
Definition at line 127 of file LayoutStandards.h.
Returns the global default stroke color for edges.
Definition at line 130 of file LayoutStandards.h.
Returns the global default stroke width for edges.
Definition at line 133 of file LayoutStandards.h.
Returns the global default fill for nodes.
Definition at line 111 of file LayoutStandards.h.
Returns the global default fill color for nodes.
Definition at line 114 of file LayoutStandards.h.
Returns the global default height for nodes.
Definition at line 80 of file LayoutStandards.h.
Returns the global default node separation.
Definition at line 180 of file LayoutStandards.h.
Returns the global default shape for nodes.
Definition at line 93 of file LayoutStandards.h.
Returns the global default stroke for nodes.
Definition at line 99 of file LayoutStandards.h.
Returns the global default stroke color for nodes.
Definition at line 102 of file LayoutStandards.h.
Returns the global default stroke width for nodes.
Definition at line 105 of file LayoutStandards.h.
Returns the global default width for nodes.
Definition at line 67 of file LayoutStandards.h.
Sets the global default separation between connected components to d
.
d | must be a positive value and is set as new default separation between connected components. |
Definition at line 199 of file LayoutStandards.h.
Sets the global default fill for clusters to fill
.
Definition at line 170 of file LayoutStandards.h.
Sets the global default stroke for cluster to stroke
.
Definition at line 161 of file LayoutStandards.h.
Sets the global default arrow type for edges to arrow
.
Definition at line 142 of file LayoutStandards.h.
Sets the global default stroke for edges to stroke
.
Definition at line 136 of file LayoutStandards.h.
Sets the global default fill for nodes to fill
.
Definition at line 117 of file LayoutStandards.h.
Sets the global default height for nodes to h
.
h | must be a positive value and is set as new default node height. |
Definition at line 86 of file LayoutStandards.h.
Sets the global default node separation to d
.
d | must be a positive value and is set as new default node separation. |
Definition at line 186 of file LayoutStandards.h.
Sets the global default shape for nodes to s
.
Definition at line 96 of file LayoutStandards.h.
Sets the global default stroke for nodes to stroke
.
Definition at line 108 of file LayoutStandards.h.
Sets the global default width for nodes to w
.
w | must be a positive value and is set as new default node width. |
Definition at line 73 of file LayoutStandards.h.
|
staticprivate |
the default separation between connected components (for layout algorithms) (must be positive).
Definition at line 57 of file LayoutStandards.h.
|
staticprivate |
the default cluster fill.
Definition at line 54 of file LayoutStandards.h.
|
staticprivate |
the default cluster stroke.
Definition at line 53 of file LayoutStandards.h.
|
staticprivate |
the default arrow type of an edge .
Definition at line 51 of file LayoutStandards.h.
|
staticprivate |
the default stroke of an edge.
Definition at line 50 of file LayoutStandards.h.
|
staticprivate |
the default fill of a node.
Definition at line 48 of file LayoutStandards.h.
|
staticprivate |
the default height of a node (must be positive).
Definition at line 45 of file LayoutStandards.h.
|
staticprivate |
the default node separation (for layout algorithms) (must be positive).
Definition at line 56 of file LayoutStandards.h.
|
staticprivate |
the default shape of a node.
Definition at line 46 of file LayoutStandards.h.
|
staticprivate |
the default stroke of a node.
Definition at line 47 of file LayoutStandards.h.
|
staticprivate |
the default width of a node (must be positive).
Definition at line 44 of file LayoutStandards.h.