Open Nemecsek opened 6 years ago
As partial solution, I modified the library to add to each node tag (A1, A2, etc) a node label ("Hall 1", "Hall 2", etc.). Now:
Alas, I am a real newbie with JS and my solution has been greatly patched together without skill. Upon request I can provide the modified library: perhaps somebody could properly rewrite my poor code.
An example of sankey I am producing programmatically:
This looks related to #11.
Using these data
I would like to align B2 to B1, even if it has no children.
Normally I get this:![sankeymatic_300x300](https://user-images.githubusercontent.com/25978536/38802090-d727bca8-416b-11e8-9bf5-b068893dd929.png)
but I would like to get this:![sankeymatic_300x300 1](https://user-images.githubusercontent.com/25978536/38802115-e6eb9de4-416b-11e8-8c02-5ca830482925.png)
This could be easily solved if issue #35 has an answer: I would create a dummy node (say B2DUMMY) after B2, same value, transparent and flow set as "target" (so transparent). As the dummy node would have no text to show, it would be completely invisible.
In this example it is what I can get, but I need the the text
B2DUMMY:100
to disappear: