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
)
Public Function NewEdgeType (
name As String,
biderectional As Boolean,
Optional baseType As EdgeType = Nothing
) As EdgeType
public:
EdgeType^ NewEdgeType(
String^ name,
bool biderectional,
EdgeType^ baseType = nullptr
)
member NewEdgeType :
name : string *
biderectional : bool *
?baseType : EdgeType
(* Defaults:
let _baseType = defaultArg baseType null
*)
-> EdgeType
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:
EdgeTypeUnique edge type.
Return Value
Type:
EdgeTypea new edge type
See Also