The Transport
companion object establishes itself as a EdgeType
and provides a method of collecting its edge instances.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class EdgeTypetrait Serializabletrait Identifiableclass Objecttrait Matchableclass AnyShow all
- Self type
-
Transport.type
Members list
Value members
Concrete methods
Add the transport edge to the Transport edge type.
Add the transport edge to the Transport edge type.
Value parameters
- transport
-
the transport edge to add
Attributes
Calculate the coordinates of the two end-points of the edge/transport.
Calculate the coordinates of the two end-points of the edge/transport.
Value parameters
- from
-
the from vertex
- shift1
-
the x-y shift for the transport's first end-point (from-side)
- shift2
-
the x-y shift for the transport's second end-point (to-side)
- to
-
the to vertex
Attributes
Inherited methods
Add edges into the existing list of edges in this edge-type.
Add edges into the existing list of edges in this edge-type.
Value parameters
- es
-
the edges to add
Attributes
- Inherited from:
- EdgeType
Check that the properties names are in the schema for this edge-type, returning whether they match the schema.
Check that the properties names are in the schema for this edge-type, returning whether they match the schema.
Attributes
- Inherited from:
- EdgeType
Delete a single edge from the existing list of edges in this edge-type. returning the updated edge type/set.
Delete a single edge from the existing list of edges in this edge-type. returning the updated edge type/set.
Value parameters
- e
-
the edge to delete
Attributes
- Inherited from:
- EdgeType
Make all the edges in this edge-type distinct, i.e., no duplicate edges.
Make all the edges in this edge-type distinct, i.e., no duplicate edges.
Attributes
- Inherited from:
- EdgeType
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
Expand this edge-type with both its from and to vertex-types.
Expand this edge-type with its from vertex-type.
Expand this edge-type with its 'to' vertex-type, appending its properties.
Expand this edge-type with its 'to' vertex-type, appending its properties.
Attributes
- Inherited from:
- EdgeType
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Insert a single edge into the existing list of edges in this edge-type. returning the updated edge type/set.
Insert a single edge into the existing list of edges in this edge-type. returning the updated edge type/set.
Value parameters
- e
-
the edge to insert
Attributes
- Inherited from:
- EdgeType
Intersect this edge-type with a second edge-type.
Intersect this edge-type with a second edge-type.
Value parameters
- et2
-
the second edge-type
Attributes
- Inherited from:
- EdgeType
Limit the number of edges to n after skipping the first s.
Limit the number of edges to n after skipping the first s.
Value parameters
- n
-
the number of edges to keep
- s
-
the number of edges to skip
Attributes
- Inherited from:
- EdgeType
Return the full identity.
Subtract (minus) second edge-type from this edge-type.
Subtract (minus) second edge-type from this edge-type.
Value parameters
- et2
-
the second edge-type
Attributes
- Inherited from:
- EdgeType
Return a new shape object based on the shape template.
Order the edges within this edge-type by the values of the given property name.
Order the edges within this edge-type by the values of the given property name.
Value parameters
- pname
-
the property name on which to sort
Attributes
- Inherited from:
- EdgeType
Project each edge in this edge-type down to the given subschema x of properties.
Project each edge in this edge-type down to the given subschema x of properties.
Value parameters
- x
-
the subset of property names (subschema) to project onto
Attributes
- Inherited from:
- EdgeType
Rename the old property name with the new property name.
Rename the old property name with the new property name.
Value parameters
- pNew
-
new property name
- pOld
-
existing property name
Attributes
- Inherited from:
- EdgeType
Select the edges in this edge-type that satisfy the predicate.
Select the edges in this edge-type that satisfy the predicate.
Value parameters
- pred
-
the predicate to satisfy
Attributes
- Inherited from:
- EdgeType
SHOW/print this table, one edge per row. Formatting: regular column is 'width_' chars wide, 'X' is double that FIX - currently only works for width_, not width
SHOW/print this table, one edge per row. Formatting: regular column is 'width_' chars wide, 'X' is double that FIX - currently only works for width_, not width
Value parameters
- rng
-
the range of edges to show (e.g, 0 until 10), defaults to all
Attributes
- Inherited from:
- EdgeType
Get the type of the object.
Union this edge-type with a second edge-type with no duplication.
Union this edge-type with a second edge-type with no duplication.
Value parameters
- et2
-
the second edge-type
Attributes
- Inherited from:
- EdgeType
Union this edge-type with a second edge-type.
Union this edge-type with a second edge-type.
Value parameters
- et2
-
the second edge-type
Attributes
- Inherited from:
- EdgeType
Inherited fields
Attributes
- Inherited from:
- EdgeType
Attributes
- Inherited from:
- Identifiable
Attributes
- Inherited from:
- Identifiable
Attributes
- Inherited from:
- EdgeType
Attributes
- Inherited from:
- EdgeType