def connect

bendvy-ecs-core@0.1.0.3 · execution_deferred_settings.bend:114

import bendvy-ecs-core@0.1.0.3/execution_deferred_settings.bend as ExecutionDeferredSettings
import Base
import bendvy-ecs-core@0.1.0.3/dependency_plan.bend as Plan

114def connect(+before:U32,+after:U32,+sync:U32,graph:Graph) -> Graph:
115  match graph:
116    case Graph{nodes,edges,syncs,automatic}:Graph{nodes,Plan.Edge{before,sync} <> Plan.Edge{sync,after} <> remove_edge(edges,before,after),syncs,automatic}

Uses (5)

Used by (3)