GraphNewVertexType Method |
Creates a new node type.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public VertexType NewVertexType(
string name,
VertexType baseType = null
)
Public Function NewVertexType (
name As String,
Optional baseType As VertexType = Nothing
) As VertexType
public:
VertexType^ NewVertexType(
String^ name,
VertexType^ baseType = nullptr
)
member NewVertexType :
name : string *
?baseType : VertexType
(* Defaults:
let _baseType = defaultArg baseType null
*)
-> VertexType
Parameters
- name
- Type: SystemString
Unique name for the new vertex type. - baseType (Optional)
- Type: VelocityGraphVertexType
Base VertexType for the new VertexType.
Return Value
Type:
VertexTypeUnique graph type identifier.
See Also