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

Method clone

packages/graph/src/Steps.ts:739–747  ·  view source on GitHub ↗
(partial?: Partial<FetchVerticesStepConfig>)

Source from the content-addressed store, hash-verified

737 }
738
739 public override clone(partial?: Partial<FetchVerticesStepConfig>) {
740 const { config } = this;
741 return new FetchVerticesStep({
742 vertexLabels:
743 partial?.vertexLabels ?? (config.vertexLabels ? [...config.vertexLabels] : undefined),
744 ids: partial?.ids ?? (config.ids ? [...config.ids] : undefined),
745 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
746 });
747 }
748}
749
750/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected