Edge

scalation.animation.Dgraph.Edge
See theEdge companion class
object Edge

The Edge companion object provides factory mathods for creating various forms of edges.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Edge.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(shape: CurvilinearShape, label: String, primary: Boolean, color: Color, from: Node, to: Node, p1: VectorD, p2: VectorD, shift: Int): Edge

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

def apply(shape: CurvilinearShape, label: String, primary: Boolean, color: Color, from: Node, to: Node, p1: VectorD, pc: VectorD, p2: VectorD, shift: Int): Edge

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

def apply(shape: CurvilinearShape, label: String, primary: Boolean, color: Color, from: Node, to: Node): Edge

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

Attributes