def graph_read

bendvy-ecs-core@0.1.0.4 · relation_query.bend:83

import bendvy-ecs-core@0.1.0.4/relation_query.bend as RelationQuery
import Base
import relation_types.bend as G
import relation_commands.bend as A

83def graph_read(~S:Data,~C:Type,store:A.Store<S,C>) -> A.Store<S,C> & G.Graph<S>:
84  match store:
85    case A.Store{components,+graph}: (A.Store{components,graph},graph)

Uses (4)

Used by (3)