Panel options#
Editor layout#
Mapgl panel options are split into a few main areas:
- Map view: initial position and zoom.
- Data layers: add, select, reorder, or configure overlay layers. For topology data, use Markers and links.
- Basemap layer: the mode switch and map background settings. Node Graph ortho includes autolayout settings.
- Other: layer switcher, legends, sizing mode, and alert label options.
Most panel-specific topology work happens inside the Markers and links layer.
Fresh panels initialize with one Markers and links data layer so its configuration is available immediately in the panel editor.
Quick setup#
- Choose the mode in Basemap layer. Use Node Graph ortho for automatic graph layout, or choose a map basemap for Geo placement.
- Add or select a Markers and links data layer.
- If the panel receives multiple query frames, use Data to choose which frame feeds the layer.
- Set Vertex A to the field that contains unique node IDs.
- For Geo mode, make sure the layer has usable location fields. Coordinates are not required in graph mode.
- Set Vertex B when rows should create links.
- Use a different Edge ID for each repeated Vertex A -> Vertex B link that should remain parallel.
- Reuse one Edge ID only when consecutive, data source-ordered rows describe continuous portions of the same route.
- Configure Node Styles, Edge Styles, and Node Groups.
New graph-mode panels start with a small mock topology until a real Vertex A field is configured. This lets you test styles and rendering before a data source is ready.
Other panel options#
Outside the layer editor:
- Layer switcher: show or hide the layer toggle UI.
- Edge legend: show legend for edge thresholds.
- Groups legend: show legend for node groups.
- Hide diagnostic messages: suppress graph-frame diagnostic alerts in dashboard and panel edit mode.
- Meters for sizing: scale sizes in Geo mode by map zoom.
- VertexA name label in alert annotation: field name used in alert annotation labels.
Practical advice#
- Start with one Markers and links layer and get Vertex A and Vertex B working first.
- Use native Grafana thresholds for the base severity model.
- Use groups mainly for icon and size escalation.
- Add group color overrides where threshold color is not enough, and to make node group labeled in the legend
- Use unique Edge ID values for parallel links.
- If group results look unexpected, check whether multiple groups match the same node. Mixed icon/color outcomes are valid behavior in Mapgl.