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 44 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default separation between connected components.
Definition at line 194 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default fill for clusters.
Definition at line 165 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default fill color for clusters.
Definition at line 168 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke for clusters.
Definition at line 153 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke color for clusters.
Definition at line 156 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke width for clusters.
Definition at line 159 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default arrow type for edges.
Definition at line 140 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke for edges.
Definition at line 128 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke color for edges.
Definition at line 131 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke width for edges.
Definition at line 134 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default fill for nodes.
Definition at line 112 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default fill color for nodes.
Definition at line 115 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default height for nodes.
Definition at line 81 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default node separation.
Definition at line 181 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default shape for nodes.
Definition at line 94 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke for nodes.
Definition at line 100 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke color for nodes.
Definition at line 103 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default stroke width for nodes.
Definition at line 106 of file LayoutStandards.h.
|
inlinestatic |
Returns the global default width for nodes.
Definition at line 68 of file LayoutStandards.h.
|
inlinestatic |
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 200 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default fill for clusters to fill.
Definition at line 171 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default stroke for cluster to stroke.
Definition at line 162 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default arrow type for edges to arrow.
Definition at line 143 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default stroke for edges to stroke.
Definition at line 137 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default fill for nodes to fill.
Definition at line 118 of file LayoutStandards.h.
|
inlinestatic |
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 87 of file LayoutStandards.h.
|
inlinestatic |
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 187 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default shape for nodes to s.
Definition at line 97 of file LayoutStandards.h.
|
inlinestatic |
Sets the global default stroke for nodes to stroke.
Definition at line 109 of file LayoutStandards.h.
|
inlinestatic |
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 74 of file LayoutStandards.h.
|
staticprivate |
the default separation between connected components (for layout algorithms) (must be positive).
Definition at line 58 of file LayoutStandards.h.
|
staticprivate |
the default cluster fill.
Definition at line 55 of file LayoutStandards.h.
|
staticprivate |
the default cluster stroke.
Definition at line 54 of file LayoutStandards.h.
|
staticprivate |
the default arrow type of an edge .
Definition at line 52 of file LayoutStandards.h.
|
staticprivate |
the default stroke of an edge.
Definition at line 51 of file LayoutStandards.h.
|
staticprivate |
the default fill of a node.
Definition at line 49 of file LayoutStandards.h.
|
staticprivate |
the default height of a node (must be positive).
Definition at line 46 of file LayoutStandards.h.
|
staticprivate |
the default node separation (for layout algorithms) (must be positive).
Definition at line 57 of file LayoutStandards.h.
|
staticprivate |
the default shape of a node.
Definition at line 47 of file LayoutStandards.h.
|
staticprivate |
the default stroke of a node.
Definition at line 48 of file LayoutStandards.h.
|
staticprivate |
the default width of a node (must be positive).
Definition at line 45 of file LayoutStandards.h.