case class Edge(shape: CurvilinearShape, label: String, primary: Boolean, var color: Color, from: Dgraph.this.Node, to: Dgraph.this.Node, bend: Double = ..., shift: Int = ..., direct: Boolean = ...)
The Edge class is used to represent edges in the graph. If bend = 0, a straight line is created, otherwise a quadratic curve is created. It uses implicit coordinates for the edge endpoints.
Value parameters
bend
the amount of bend in the curve (defaults to zero)
color
the color of the edge
direct
whether to directly set the line or allow factory function to set it
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 (line/curve) of the edge
shift
amount of distance to shift the edge, e.g., to accommodate a bundle of edges in a composite edge