The id parameter is the identifier for the vertex. It is of type VertexId, which is
typically a unique identifier for each vertex in a graph.
Optional val: TThe "val" parameter is an optional parameter of type T. It is used to specify the value associated with the vertex.
Generated using TypeDoc
The constructor function initializes a vertex with an optional value.