Line of Sankey diagram is going through one of the nodes while it should be seperate like all the other ones. Any idea why this is happening or how to prevent this?
fig = go.Figure(data=[go.Sankey(
node = dict(
pad = 100,
thickness = 30,
line = dict(color = "black", width = 2),
label = [" Gas: 47 MW",
" Stoom: 35 MW",
" Elektriciteit: 12 MW",
"Verlies: 1 MW ",
"R: 17 MW ",
"F: 14 MW ",
"Fe: 8.5 MW ",
"Ut: 4.5 MW ",
"VN: 4.5 MW ",
],
link = dict(
source = [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2],
target = [1, 2, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8],
value = [35, 12, 1, 13.8, 11.3, 7.3, 2.8, 3.4, 2.4, 1.1, 1.5, 3.6],)])