RelationGraph.unrelate: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_graph.bend as RelationGraph Lines 92-94 of bendvy-ecs-core@0.1.0.4/relation_graph.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&start_line=92&end_line=94 import Base import entity_key.bend as K import relation_types.bend as T def unrelate(~S: Data,graph: T.Graph,+descriptor: T.Descriptor,+source: K.Key) -> T.Graph: match graph: case T.Graph{+edges,inverses}: T.Graph{remove_edge(~S,edges,descriptor,source),remove_previous(~S,target_edges(~S,edges,descriptor,source),inverses,descriptor,source)} Uses (6): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/entity_key.bend&name=Key https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&name=remove_edge https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&name=remove_previous https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&name=target_edges https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_types.bend&name=Descriptor https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_types.bend&name=Graph