Node graph edges superposition

Hello,

Sorry if category is wrong, could not find something more suitable.

I’ve had a single issue with node graph viz, across versions, It loves to put nodes in two columns, making edges overlap themselves, rendering the graph hard to read.

Current grafana version: v11.5.1 (c6c701cf5b)

Here is some sample data (just the edges, result is the same even with the corresponding nodes data):

id,source,target
aaa,BBB,FFF
bbb,BBB,GGG
ccc,AAA,FFF
ddd,AAA,GGG
eee,AAA,EEE
fff,AAA,BBB
ggg,AAA,DDD
hhh,AAA,ccc

I use a testdata datasource to load the csv:

and here is the render:

Am I doing something wrong ? Why can’t I have something nice (speaking of nodes positions) like in any examples I can find ?

Thanks

For instance of ‘good looking’ graphs, using testdata again

then inspect query, download edges csv, filter for id, source & target columns, paste new csv as done previoulsy:

It looks good.

Another example: 5 nodes, full graph (meaning all nodes are interconnected, both ways)

I’m expecting something like a pentagram. I mean there are ways to draw this.

id,source,target
node0-node1,node0,node1
node1-node0,node1,node0
node0-node2,node0,node2
node2-node0,node2,node0
node0-node3,node0,node3
node3-node0,node3,node0
node0-node4,node0,node4
node4-node0,node4,node0
node1-node2,node1,node2
node2-node1,node2,node1
node1-node3,node1,node3
node3-node1,node3,node1
node1-node4,node1,node4
node4-node1,node4,node1
node2-node3,node2,node3
node3-node2,node3,node2
node2-node4,node2,node4
node4-node2,node4,node2
node3-node4,node3,node4
node4-node3,node4,node3

On my 11.5.1 instance: garbage

on play.grafana.org (I suppose in 11.5.2)

Nothing in the changelog about nodegraph

What am I missing here ?

are you using oss?

Yes I am, base docker image is docker.io/grafana/grafana:11.5.1, with a custom.ini with few options, and some plugins.

Pretty sure play is using enterprise version. Can you try that and see if it works