RelationGraph.remove_edge_fields: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/relation_graph.bend as RelationGraph Lines 50-52 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=50&end_line=52 import Base import entity_key.bend as K import relation_types.bend as T def remove_edge_fields(~S: Data,edge: T.Edge,+descriptor: T.Descriptor,source: K.Key,next: Unit -> List<&2,T.Edge>) -> List<&2,T.Edge>: match edge: case T.Edge{+other,+id,+target}: edge_removed(~S,Bool.and(U32.is_eq(key(~S,other),key(~S,descriptor)),K.equal(id,source)),T.Edge{other,id,target},next(Unit{})) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit 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/entity_key.bend&name=equal https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&name=edge_removed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_graph.bend&name=key 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=Edge