Members
Constants
Sample Graphs
See Also
API
- ports
Sample Graphs
See Also
API
- ports
In the default flow direction from top to bottom incoming edges enter the node on the top, and outgoing edges leave the node on the bottom.
The source ports of edges without LayoutPortCandidates will be distributed at the sides of their source and target nodes. Edges with free LayoutPortCandidates are distributed at the side of the nodes which is specified in the LayoutPortCandidate.
Grouped edges will get the same port location.
Sample Graphs
See Also
In the default flow direction from top to bottom, the direction in which the edges enter and leave the nodes is determined as follows. If an outgoing edge can be drawn straight (without any bends) or it is the only outgoing edge of its source, it leaves its source at the bottom. Otherwise, it leaves its source on the right or left side. Similarly, if an incoming edge can be drawn straight (without any bends) or it is the only incoming edge of its target, it enters its target at the top. Otherwise, it enters its target on the right or left side.
The source ports of edges without LayoutPortCandidates will be distributed at the sides of their source and target nodes. Edges with free LayoutPortCandidates are distributed at the side of the nodes which is specified in the LayoutPortCandidate.
Grouped edges will get the same port location.
Sample Graphs
See Also
Static Methods
Converts the given argument to an enum constant of this enum type.
Parameters
- value: SeriesParallelLayoutPortAssignmentMode
- The value to convert to an enum constant.
Return Value
- SeriesParallelLayoutPortAssignmentMode
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
- value: SeriesParallelLayoutPortAssignmentMode
- The numeric value of an enum constant.
Return Value
- string
- The name of the enum constant.
Throws
- Exception ({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.