The Edge companion object provides factory mathods for creating various forms of edges.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
- Mirror
The name of the type.
The name of the type.
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Construct an edge as a line with explicit coordinates.
Construct an edge as a line with explicit coordinates.
Value parameters
- color
-
the color of the edge
- from
-
the origination node
- label
-
the label for the created edge
- p1
-
the (x,y)-coordinates of the edge's start
- p2
-
the (x,y)-coordinates of the edge's end
- primary
-
whether it is a primary/transition/true or secondary/place node/false
- shape
-
the shape (line) of the edge
- shift
-
amount of distance to shift the edge, e.g., to accommodate composite edges
- to
-
the destination node
Attributes
Construct an edge as a curve with explicit coordinates.
Construct an edge as a curve with explicit coordinates.
Value parameters
- color
-
the color of the edge
- from
-
the origination node
- label
-
the label for the created edge
- p1
-
the (x,y)-coordinates of the edge's start
- p2
-
the (x,y)-coordinates of the edge's end
- pc
-
the (x,y)-coordinates of the edge's control point
- primary
-
whether it is a primary/transition/true or secondary/place node/false
- shape
-
the shape (curve) of the edge
- shift
-
amount of distance to shift the edge, e.g., to accommodate composite edges
- to
-
the destination node
Attributes
Construct an edge as a curve with explicit coordinates.
Construct an edge as a curve with explicit coordinates.
Value parameters
- color
-
the color of the edge
- from
-
the origination node
- label
-
the label for the created edge
- primary
-
whether it is a primary/transition/true or secondary/place node/false
- shape
-
the shape (curve) of the edge
- to
-
the destination node