* The vertex that the edge points to (target). * Named "inV" because this is the vertex the edge goes INTO.
()
| 903 | * Named "inV" because this is the vertex the edge goes INTO. |
| 904 | */ |
| 905 | public get inV(): Vertex<TSchema, any> { |
| 906 | const vertex = this.graph.getVertexById(this[$StoredElement].inV); |
| 907 | if (vertex == null) { |
| 908 | throw new GraphConsistencyError(`Vertex with id ${this[$StoredElement].inV} not found`); |
| 909 | } |
| 910 | return vertex; |
| 911 | } |
| 912 | |
| 913 | /** |
| 914 | * The vertex that the edge originates from (source). |
no test coverage detected