You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Team,
I must say your work is very good.
I am trying to use Sankey with react but I am not able to specify node depth.
Data:
{ "nodes" : [ { "id" : "/home", "counts" : 300, "exits" : 50, "level" : 0 }, { "id" : "/apps/s-page", "counts" : 6, "exits" : 1, "level" : 0 }, { "id" : "/about", "counts" : 30, "exits" : 20, "level" : 0 }, { "id" : "/setup", "counts" : 75, "exits" : 25, "level" : 1 }, { "id" : "/apps/s-page", "counts" : 175, "exits" : 50, "level" : 1 }, { "id" : "/apps/s-page/args/:s/truffle/:d", "counts" : 5, "exits" : 0, "level" : 1 }, { "id" : "/about/docs", "counts" : 7, "exits" : 7, "level" : 1 }, { "id" : "/about/info", "counts" : 3, "exits" : 3, "level" : 1 }, { "id" : "/apps/startup", "counts" : 50, "exits" : 20, "level" : 2 }, { "id" : "/apps/s-page/args/:s/truffle/:d", "counts" : 75, "exits" : 75, "level" : 2 }, { "id" : "/apps/invoice", "counts" : 54, "exits" : 10, "level" : 2 }, { "id" : "/apps/s-page/args/:s/truffle/:d/config", "counts" : 1, "exits" : 0, "level" : 2 }, { "id" : "/apps/s-page/args/:s/truffle/:d", "counts" : 31, "exits" : 31, "level" : 3 }, { "id" : "/apps/invoice/args/:s/truffle/:d", "counts" : 44, "exits" : 44, "level" : 3 }], "links" : [ { "source" : "/home", "target" : "/setup", "counts" : 75, "step" : 0 }, { "source" : "/home", "target" : "/apps/s-page", "counts" : 175, "step" : 0 }, { "source" : "/apps/s-page", "target" : "/apps/s-page/args/:s/truffle/:d", "counts" : 5, "step" : 0 }, { "source" : "/about", "target" : "/about/docs", "counts" : 7, "step" : 0 }, { "source" : "/about", "target" : "/about/info", "counts" : 3, "step" : 0 }, { "source" : "/setup", "target" : "/apps/startup", "counts" : 50, "step" : 1 }, { "source" : "/apps/s-page", "target" : "/apps/s-page/args/:s/truffle/:d", "counts" : 75, "step" : 1 }, { "source" : "/apps/s-page", "target" : "/apps/invoice", "counts" : 50, "step" : 1 }, { "source" : "/apps/s-page/args/:s/truffle/:d", "target" : "/apps/invoice", "counts" : 4, "step" : 1 }, { "source" : "/apps/s-page/args/:s/truffle/:d", "target" : "/apps/s-page/args/:s/truffle/:d/config", "counts" : 1, "step" : 1 }, { "source" : "/apps/startup", "target" : "/apps/s-page/args/:s/truffle/:d", "counts" : 30, "step" : 2 }, { "source" : "/apps/invoice", "target" : "/apps/invoice/args/:s/truffle/:d", "counts" : 44, "step" : 2 }, { "source" : "/apps/s-page/args/:s/truffle/:d/config", "target" : "/apps/s-page/args/:s/truffle/:d", "counts" : 1, "step" : 2 }] }
in the nodes, the parameter level specifies the node depth.
Please help. Hope to get a reply soon
Beta Was this translation helpful? Give feedback.
All reactions