Creates a new edge type.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public EdgeType(
int aTypeId,
string aTypeName,
VertexType tailType,
VertexType headType,
bool birectional,
EdgeType baseType,
Graph graph
)
Public Sub New (
aTypeId As Integer,
aTypeName As String,
tailType As VertexType,
headType As VertexType,
birectional As Boolean,
baseType As EdgeType,
graph As Graph
)
public:
EdgeType(
int aTypeId,
String^ aTypeName,
VertexType^ tailType,
VertexType^ headType,
bool birectional,
EdgeType^ baseType,
Graph^ graph
)
new :
aTypeId : int *
aTypeName : string *
tailType : VertexType *
headType : VertexType *
birectional : bool *
baseType : EdgeType *
graph : Graph -> EdgeType
Parameters
- aTypeId
- Type: SystemInt32
The id to use for the new edge type - aTypeName
- Type: SystemString
A type name to use - tailType
- Type: VelocityGraphVertexType
Restrict tail vertex to a certain vertex type - headType
- Type: VelocityGraphVertexType
Restrict head vertex to a certain vertex type - birectional
- Type: SystemBoolean
Is this edge type bidirectional (going both ways) - baseType
- Type: VelocityGraphEdgeType
A base type can be specified - graph
- Type: VelocityGraphGraph
The owning graph
See Also