Represents an embedding of a planar graph.
Inheritance Hierarchy
Remarks
Members
No filters for this type
Constructors
Creates a new embedding for the specified planar graph.
Creates a new embedding for the specified planar graph.
Parameters
- graph: LayoutGraph
- A planar graph
Throws
- Exception ({ name: 'ArgumentError' })
- If the specified graph is not planar
Properties
Methods
Returns the two darts associated with the given edge.
Returns the two darts associated with the given edge.
final
Parameters
- edge: LayoutEdge
- an edge
Return Value
- Dart[]
- the two darts associated with the given edge
Returns a IList<T> containing the (cyclic ordered) outgoing darts of the specified node.
Returns a IList<T> containing the (cyclic ordered) outgoing darts of the specified node.
final
Parameters
- node: LayoutNode
- A node
Static Methods
Return whether or not the given graph is planar.
Return whether or not the given graph is planar.
static
Parameters
- graph: LayoutGraph
- the input graph
Return Value
- boolean
trueif the given graph is planar,falseotherwise