Token
scalation.animation.Dgraph.Token
case class Token(shape: RectangularShape, label: String, primary: Boolean, var color: Color, var onNode: Node, w: Double, h: Double)
The Token
class is used to represent tokens in the graph.
Value parameters
- color
-
the color of the token
- h
-
the height of the token
- label
-
the label for the created token
- onNode
-
the node the token is on
- primary
-
whether the token is primary/free/true to secondary/bound/false
- shape
-
the shape of the token
- w
-
the width of the token
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article