Click or drag to resize

GraphNewEdgeType Method (String, Boolean, EdgeType)

Creates a new edge type.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public EdgeType NewEdgeType(
	string name,
	bool biderectional,
	EdgeType baseType = null
)

Parameters

name
Type: SystemString
Unique name for the new edge type.
biderectional
Type: SystemBoolean
If true, this creates a biderectional edge type, otherwise this creates a unidirectional edge type.
baseType (Optional)
Type: VelocityGraphEdgeType
Base EdgeType for the new EdgeType.

Return Value

Type: EdgeType
Unique edge type.

Return Value

Type: EdgeType
a new edge type
See Also