MCPcopy Create free account
hub / github.com/codemix/graph / bothV

Method bothV

packages/graph/src/Traversals.ts:1878–1889  ·  view source on GitHub ↗

* Get the vertices that are connected to the edges by both incoming and outgoing edges.

()

Source from the content-addressed store, hash-verified

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.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected