anyway i'm making a sankey diagram from scratch because:
• i wanna have overlapping flows to multiple sinks
• i wanna animate it
Conversation
so fun fact about sankey diagrams: one way you used to make them was by cutting ribbons of paper and then bundling those on edge and placing it on photographic paper and exposing it: since the thickness of the (edge) paper was known you could represent accurate ratios
1
1
of course like a big dumb idiot i didn't bookmark the webpage that showed this
1
this is actually progress
read image description
ALT
1
still very much in the "how do i want the underlying data structure to be" stage of things so i'm just drawing straight lines at the y-values of the (one-dimensional i guess) centroids of the nodes
1
this is also actually progress
read image description
ALT
3
1
what i'm doing here is just plunking down straight lines where i want the series of sankey tubes to go, this time i just made the stroke width proportional to the flow (the heights are still not quite right so i'mma fix those then replace the lines with béziers)
1
getting cloooserrrrr
almost time to switch to béziers
read image description
ALT
2
ah screw it let's just do the damn curves already
as you can see the alignment on the sink side is not right
anyway by this time tomorrow i should have a nice slick animatable sankey
read image description
ALT
2
i'm still very much in the "still deciding how this is gonna work" phase here; edge crossing minimization goes under the "boring graph theory i can implement any time" heading
1
Show replies

