def graph

bendvy-ecs-core@0.1.0.4 · inspector_relation_projection.bend:17

import bendvy-ecs-core@0.1.0.4/inspector_relation_projection.bend as InspectorRelationProjection
import Base
import inspector.bend as I
import world.bend as W
import relation_types.bend as G
import relation_commands.bend as A
import relation_query.bend as RQ

17def graph(~S:Data,~C:Type,~R:Type,~E:Data,frame:I.Frame<S,A.Store<S,C>,R,A.Notice<S,E>>) -> I.Frame<S,A.Store<S,C>,R,A.Notice<S,E>> & G.Graph<S>:
18  match frame:
19    case I.Frame{world,cursor}:graph_joined(~S,~C,~R,~E,cursor,W.with_store(~S,~A.Store<S,C>,~R,~A.Notice<S,E>,~G.Graph<S>,RQ.graph_read(~S,~C),world))

Uses (8)

Used by (4)