Перейти к содержанию

Identity and namespaces#

Deduplication rules#

  • Duplicate node IDs do not create additional nodes.
  • Node properties come from the first record that introduced the node.
  • Duplicate node rows may still contribute link data.
  • Repeated links with the same edge key are coalesced.
  • Link display properties, metrics, labels, widths, and colors come from the first record that created that edge key.
  • Later rows with the same edge key may refresh route/path data for that logical link.
  • Empty Edge ID values fall back to the default source-target edge key.

Namespace rules#

  • Namespaces apply in graph mode.
  • Geo mode uses one shared namespace, external; configured namespace fields and custom defaults are ignored there.
  • The default namespace in graph mode is external.
  • Vertex A namespace selects or creates the source node namespace.
  • Vertex B namespace independently selects the target node namespace. When either namespace field is unset or does not resolve, that side uses the default external namespace.
  • Vertex A namespace keeps the saved optional.vertexA_NS field binding. It accepts scalar strings or arrays (including JSON string arrays). Arrays assign one namespace per path node, including both endpoints; their first and last entries supply A/B namespaces, and ignore Vertex B namespace for that row. The editor keeps Vertex B namespace visible whenever Vertex B is configured, without scanning field values. A node-only row can use a one-item array. Scalar values retain the existing A/B field behavior.
  • Namespace arrays must match the number of node IDs in the full path (including both endpoints); coordinate-only waypoints do not consume namespace entries. Arrays must contain non-empty namespace names. Malformed arrays are reported as graph-data issues. If any listed namespace is absent from all node records, every path item uses the first entry's namespace; Mapgl reports the fallback and resolves node IDs there using the usual missing-node rules. Namespace validation includes later frames and configured layers.
  • For example, path ["shop/order-supervisor", "data/audit-relay", "partner-api"] uses ["shop", "data", "outside.EU"] in the field selected by Vertex A namespace.
  • Namespace layers separator splits nested namespaces. The default . makes site.core.router a three-layer namespace; selecting , gives the same hierarchy from site,core,router.
  • A target node must exist in the resolved target namespace for a link to be created.