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

Method clone

packages/graph/src/Steps.ts:6115–6122  ·  view source on GitHub ↗
(partial?: Partial<CreateStepConfig>)

Source from the content-addressed store, hash-verified

6113 }
6114
6115 public override clone(partial?: Partial<CreateStepConfig>) {
6116 return new CreateStep({
6117 vertices: partial?.vertices ?? [...this.config.vertices],
6118 edges: partial?.edges ?? (this.config.edges ? [...this.config.edges] : undefined),
6119 stepLabels:
6120 partial?.stepLabels ?? (this.config.stepLabels ? [...this.config.stepLabels] : undefined),
6121 });
6122 }
6123}
6124
6125// ============================================================================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected