Package | com.yworks.graph.model |
Class | public class EdgeLayerPolicy |
Inheritance | EdgeLayerPolicy Object |
Implements | IEnum |
GraphModelManager
.
See also
Method | Defined By | ||
---|---|---|---|
EdgeLayerPolicy(policyName:String) | EdgeLayerPolicy | ||
toString():String | EdgeLayerPolicy | ||
valueOf(s:Object):EdgeLayerPolicy [static] | EdgeLayerPolicy |
Constant | Defined By | ||
---|---|---|---|
AT_NODE_LEVEL : EdgeLayerPolicy [static]
An edge will be visualized in the same layer as the child nodes of the common ancestor of the
edge's source and target nodes. | EdgeLayerPolicy | ||
BEHIND_GROUP_NODES : EdgeLayerPolicy [static]
The visualization layer of an edge depends on the hierarchical relation of its source and target node
and is chosen to give a 'natural' look and feel:
If it is a self loop, it is placed in the same layer as the node it is connected to.
If source and target node of the edge belong to the same group node, it is placed in a layer behind
these nodes.
If source and target node of the edge belong to different group nodes, it is placed in a layer
in front of both nodes.
| EdgeLayerPolicy | ||
SEPARATE_LAYER : EdgeLayerPolicy [static]
All edges will be visualized in a separate edge layer in front of all nodes. | EdgeLayerPolicy | ||
values : Array [static] | EdgeLayerPolicy |
EdgeLayerPolicy | () | Constructor |
public function EdgeLayerPolicy(policyName:String)
policyName:String |
toString | () | method |
public function toString():String
ReturnsString |
valueOf | () | method |
AT_NODE_LEVEL | Constant |
public static const AT_NODE_LEVEL:EdgeLayerPolicy
An edge will be visualized in the same layer as the child nodes of the common ancestor of the edge's source and target nodes.
If source and target node of the edge belong to the same group node, this results in the edge being at their layer. Otherwise the nearest common ancestor node of the source and target node is determined and the edge is placed in its child layer.
BEHIND_GROUP_NODES | Constant |
public static const BEHIND_GROUP_NODES:EdgeLayerPolicy
The visualization layer of an edge depends on the hierarchical relation of its source and target node and is chosen to give a 'natural' look and feel:
SEPARATE_LAYER | Constant |
public static const SEPARATE_LAYER:EdgeLayerPolicy
All edges will be visualized in a separate edge layer in front of all nodes.
See also
values | Constant |
public static const values:Array