Node graph Support #186
Replies: 3 comments 22 replies
-
Great stuff! But not working out for me with the colors. Here is my sample data
|
Beta Was this translation helpful? Give feedback.
-
if infinity has the following feature, it would be game over for all other grafana plugins. Ability to point the plugin to another mysql,mssql, anydb query. Game over 😉 |
Beta Was this translation helpful? Give feedback.
-
Hey, this is great work. I built a really cool nodeGraph using this plugin. I only have one small problem. Where does the detail__* data go? When I click on nodes and edges, nothing happens. Is it not supposed to show in the context menu? No context menu appears for me when I click on nodes or edges. Is this a bug? |
Beta Was this translation helpful? Give feedback.
-
Node Graph
You can generate Node graph panel data with
CSV
,JSON
orXML
feature of Infinity data source.From v0.8.0, we have out of the box support for node graph. Prior to v0.8.0, you can use "Table" format to create node graph with limited options.
Irrespective of the version, you need two queries to form a Node graph visualisation.
id
andtitle
field. This also can have additionalarc__*
fields to specify the arcs value for the node.id
,source
andtarget
Read more about the node graph data structure here
Node Graph format
From v0.8.0, infinity plugin have dedicated support for node graphs. You need to create two different queries with the format of
nodes
andedges
for each query.Nodes
Nodes query should have following fields.
If you have any
arc__*
field, corresponding value (number) will be used as the nodes arc value. Note : Total value of row item should sum to 1. If you need to specify a color for thearc__*
field, add a new field calledarc__*_color
.Edges
Edges query should have following fields.
works same as Nodes. But doesn't support
arc__*
fields.Example
Below is an example of nodes query
Below is an example of edges query
Corresponding Node Graph is given below
Corresponding CSV data is given below
Nodes :
Edges :
Beta Was this translation helpful? Give feedback.
All reactions