The id
parameter is of type VertexId
and represents the identifier of the vertex. It is
used to uniquely identify the vertex within a graph or network.
Optional
val: TThe "val" parameter is an optional parameter of type T. It is used to initialize the value of the vertex. If no value is provided, the vertex will be initialized with a default value.
Generated using TypeDoc
The constructor function initializes a vertex with an optional value.