The id parameter is the identifier for the vertex. It is used to uniquely identify the
vertex within a graph or network.
Protected _idStarting from TypeScript version 5.0 and onwards, the use of distinct access modifiers for Getters and Setters is not permitted. As an alternative, to ensure compatibility, it is necessary to adopt a Java-style approach for Setters (using the same name as the property) while utilizing separate method names for Getters.
Generated using TypeDoc
The constructor function initializes an object with a given id.