* Get the vertices that are connected to the edges by both incoming and outgoing edges.
()
| 1876 | * Get the vertices that are connected to the edges by both incoming and outgoing edges. |
| 1877 | */ |
| 1878 | public bothV() { |
| 1879 | return new VertexTraversal< |
| 1880 | TSchema, |
| 1881 | TraversalPath<TPath, Vertex<TSchema, VertexLabel<TSchema>>, readonly []> |
| 1882 | >(this.graph, [ |
| 1883 | ...this.steps, |
| 1884 | new VertexStep({ |
| 1885 | direction: "both", |
| 1886 | edgeLabels: [], |
| 1887 | }), |
| 1888 | ]); |
| 1889 | } |
| 1890 | |
| 1891 | /** |
| 1892 | * Add a label to the last element in the path. |