(ids: ElementId[])
| 95 | } |
| 96 | |
| 97 | public *getVerticesByIds(ids: ElementId[]): Iterable<StoredVertex> { |
| 98 | for (const id of ids) { |
| 99 | const vertex = this.getVertexById(id); |
| 100 | if (vertex != null) { |
| 101 | yield vertex; |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | public *getVertices(labels: string[]): Iterable<StoredVertex> { |
| 107 | if (labels.length === 0) { |
nothing calls this directly
no test coverage detected