~/bend-docscommunity

restore_graph_mapping.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/restore_graph_mapping.bend as Restore_graph_mapping

6 imports
import Base
import ./entity_key.bend as Key
import ./world.bend as W
import ./restore_data.bend as Basic
import ./relation_types.bend as G
import ./relation_graph.bend as Graph

Types

type Mapped source · line 8 · raw

@S:Data -> Data

Templates

template target source · line 11 · raw

@-S:Data -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @source:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @saved:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @result:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S>> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> Mapped<S>) -> Mapped<S>

template source source · line 15 · raw

@-S:Data -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @saved:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @+other:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @+bindings:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_data.Binding<S>> -> @result:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S>> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> Mapped<S>) -> Mapped<S>

template edges source · line 19 · raw

@-S:Data -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Edge<S>> -> @+bindings:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_data.Binding<S>> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> Mapped<S>

template remap source · line 23 · raw

@-S:Data -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @bindings:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_data.Binding<S>> -> Mapped<S>