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

Method clone

packages/graph/src/Steps.ts:3589–3596  ·  view source on GitHub ↗
(partial?: Partial<EdgeStepConfig>)

Source from the content-addressed store, hash-verified

3587 }
3588
3589 public override clone(partial?: Partial<EdgeStepConfig>) {
3590 const { config } = this;
3591 return new EdgeStep({
3592 direction: partial?.direction ?? config.direction,
3593 edgeLabels: partial?.edgeLabels ?? [...config.edgeLabels],
3594 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
3595 });
3596 }
3597}
3598
3599export interface RepeatStepConfig extends StepConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected