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

Method clone

packages/graph/src/Steps.ts:3399–3406  ·  view source on GitHub ↗
(partial?: Partial<GroupByStepConfig>)

Source from the content-addressed store, hash-verified

3397 }
3398
3399 public override clone(partial?: Partial<GroupByStepConfig>) {
3400 const { config } = this;
3401 return new GroupByStep({
3402 groupByItems: partial?.groupByItems ?? [...config.groupByItems],
3403 returnItems: partial?.returnItems ?? [...config.returnItems],
3404 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
3405 });
3406 }
3407}
3408
3409// Direction for traversal from vertices (via edges) and from edges (to vertices)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected