The Edge
class maintains the edge's connections between vertices as well as its own properites. An edge is roughly analogous to implicit relationship manifest via foreign key-primary key pairs. The parameters may be thought of like a triple, e.g., (h, r, t) or (s, p, o).
Value parameters
- _name
-
the name of this edge ('name' from
Identifiable
), edge label - from
-
this edge's source/from vertex
- prop
-
maps edge's property names into property values
- shift
-
number of units to shift to accomodate a bundle of egdes in a composite edge
- to
-
this edge's target/to vertex
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Spatialtrait PartiallyOrdered[Spatial]trait Identifiableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PartiallyOrdered
Value members
Inherited methods
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Attributes
- Inherited from:
- PartiallyOrdered
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the full identity.
Rescale from actual-position (e.g., world-coordinates) to animation-position (screen-coordinates).
Rescale from actual-position (e.g., world-coordinates) to animation-position (screen-coordinates).
Value parameters
- factor
-
the space rescaling factor
Attributes
- Inherited from:
- Spatial
Compare two spatial objects based on their space coordinates.
Compare two spatial objects based on their space coordinates.
Value parameters
- other
-
the other item to compare with this item
Attributes
- Inherited from:
- Spatial
Get the type of the object.