Click or drag to resize

EdgeType Constructor

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
)

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