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

Selection and inspection#

Selection#

Click nodes or links to select and inspect them. Node search selects a node and moves the view to it. Clicking empty map space clears the selection and pinned inspection.

Selection is local to the Mapgl panel and requires no event-bus configuration. Mapgl does not publish or receive Grafana DataSelectEvent selections, and selecting a marker does not automatically select a row in another panel. The former custom selectNode event integration has been removed.

Node group legend items toggle independently: click A, then B, to show both groups. Click an item again to remove only that selection. When the final group selection is cleared, all groups are eligible again. Annotations has a separate toggle that only shows or hides the annotation overlay.

Layer and namespace visibility still apply. A connection appears only when both logical endpoints pass those controls and the legend selection.

Hover a node or link to read its displayed data properties. Click it to pin the tooltip so you can copy values, follow configured data links or expand its incoming/outgoing connection lists. Selecting a listed connection inspects that link; hovering it temporarily highlights the relation. Close the tooltip or click empty canvas to dismiss pinned inspection.

Tooltip values keep Grafana's native field display names, units, decimals, mappings and visibility settings. A picked route portion shows that portion's data; a whole-link arc shows the link's primary row.

Graph inspection#

  • Internal selection, clearing, direction changes and navigation use controller commands without a Grafana event-bus round trip.
  • The former custom Grafana selectNode protocol is removed. External publishers of that event no longer control Mapgl selection; no replacement external selection protocol or field-mapping configuration is provided.
  • Grafana DataSelectEvent publishing and receiving are deferred. Other panels do not automatically follow Mapgl selections.

  • Hover inspection is transient; clicking pins interactive content, and closing or blank-canvas clearing dismisses it.

  • Node tooltips list incoming/outgoing logical adjacency with separate parallel connection identities. The count matches the corresponding list. A route's intermediate nodes do not introduce an additional transitive-neighbor query.
  • Hovering a relation temporarily focuses it; leaving restores the inspected focus. Selecting it shows its own properties.
  • The property view retains Grafana field names, units, value mappings, tooltip visibility, native data links and annotation formatting.
  • A selected displayed route portion retains its corresponding row data. Whole-connection arc inspection uses the primary row. Removed or ambiguous pinned targets are cleared when the graph changes.

Routed curve flow, labels and node cards#

  • Node rendering uses one batch per originating data layer, with canonical node references retained for picking. Disabling a data layer hides its symbols, cards and labels through the layer's visible property.
  • Namespace count does not increase pickable rendering-layer count for a fixed set of data layers and enabled primitives, avoiding per-namespace deck.gl picking limit.
  • Edge batches stay shared across data layers and namespaces. Routed fragments and whole-connection arcs are eligible only when both logical endpoints are effectively visible. Intermediate path nodes do not add visibility conditions.
  • Effective endpoint visibility combines the endpoint's own data layer, namespace and group eligibility. Namespace controls hide objects while retaining data-layer and group gates.
  • Node group selections form a union. No group selections means no group restriction. The dedicated Annotations item independently shows or hides the annotation overlay and does not affect node or edge visibility.
  • Data-layer and legend toggles update visibility without topology/layout work or coordinate-buffer regeneration. Ordinary group changes update GPU category selections; annotation overlay changes update annotation styling without changing visibility eligibility.

  • config.edgeStyle.arrow controls routed flow direction: None 0, Forward 1, Reverse -1, Both 2. Focused edges animate by default. Arc-link blob animation runs on every visible arrowed arc regardless of common.isShowEdgeLabels. That setting enables labels and idle animation on routed curves; while focused, only focused edges animate. Both flows outward from the rendered curve's arc-length midpoint; other directions follow logical endpoints, independently of layout orientation.

  • config.arcStyle.sideA.text and .sideB.text provide source/target label text when config.showStat2 is enabled. Each side uses its own textConfig.fontSize and color; text and color field selections are independent. config.edgeStyle.text and its font settings provide the middle label.
  • Focused labels remain visible regardless of common.isShowEdgeLabels. That flag controls idle labels and routed-curve animation without focus; arc-link blob animation remains on independently. Focus limits animation to focused edges. Master Label, edge, layer, group and namespace visibility remain authoritative. Focus follows logical edge/hop identity, including parallel connections, without relayout. Focused labels receive declutter priority and a stacked fallback.
  • basemap.config.layoutEngine defaults to MSAGL; ELK selects the independent optional engine. Worker dispatch/transfer utilities do not eagerly execute either engine.
  • basemap.config.nodeCards defaults to false and determines both the layout envelope and card rendering. With cards off, label-aware spacing retains circular terminal boundaries. Curve pieces and arrow bases join continuously after restoration.