def children_selected
bendvy-ecs-core@0.1.0.3 · execution_lifetime_scope_cleanup.bend:41
import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_cleanup.bend as ExecutionLifetimeScopeCleanup
import Base
import bendvy-ecs-core@0.1.0.3/entity_key.bend as Key
import bendvy-ecs-core@0.1.0.3/relation_graph.bend as Graph
import bendvy-ecs-core@0.1.0.3/execution_relation_resource_snapshot.bend as Snapshot
41def children_selected(-S:Data,key:Key.Key,found:Maybe<&2,Snapshot.GraphView<S>>) -> List<&2,Key.Key>:
42 match found:
43 case None{}:[]
44 case Some{Snapshot.GraphView{_,descriptor,_,graph}}:Graph.inverse_erased(S,graph,descriptor,key)