Examples#
Basic example#
Select Node Graph ortho and feed a Markers and links layer a table with the rows below. Map Vertex A to src and Vertex B to dst.
src,dst
api,db
db,
Mapgl draws two nodes connected by one link. For a geographic example, configure location fields.
More input examples#
Example: threshold-driven group match#
Record:
Vertex A=node-1, severity=2, role=router
Config:
- Node Styles -> Color uses
severity - Grafana thresholds resolve
severity=2to red - Group
Routersmatchesrole=routerand sets iconrouter - Group
CriticalmatchesthrColor=redand sets colorred
Result:
- node icon comes from
Routers - node color comes from
Critical
Example: duplicate node#
Records:
1. Vertex A=node-1, role=router, label=Core
2. Vertex A=node-1, role=switch, label=Changed
Result:
- one node is created
- node properties come from record
1 - record
2can still create a link if it has Vertex B
Example: repeated link without Edge ID#
Records:
1. Vertex A=A, Vertex B=B, bandwidth=10G
2. Vertex A=A, Vertex B=B, bandwidth=100G
Result:
- one logical link is created
- link properties come from record
1
Example: repeated link with unique Edge ID#
Records:
1. Vertex A=A, Vertex B=B, Edge ID=xe-0/0/0, bandwidth=10G
2. Vertex A=A, Vertex B=B, Edge ID=xe-0/0/1, bandwidth=100G
Result:
- two parallel links are created
- each link keeps properties from its own record
Example: repeated Edge ID#
Records:
1. Vertex A=A, Vertex B=B, Edge ID=xe-0/0/0, bandwidth=10G
2. Vertex A=A, Vertex B=B, Edge ID=xe-0/0/0, bandwidth=100G
Result:
- one logical link is created
- link properties come from record
1
For a complete dashboard, follow Network map cards.