this post was submitted on 28 Sep 2025
234 points (98.3% liked)
Programming
22921 readers
235 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you know something better I’d like to give it a spin.
The better option is to keep colors from the original input stream for the flows instead of making the flows an uniform color.
In the input on the left you have pink, green and blue.
Keep these colors throughout the graph.
Except of the input, all of the other stages only ever split up and never merge, so keeping this single set of colors is enough.
The other option would be to get rid of the "leads" stage, since it actually doesn't change any state. All the other stages are an action that happens (e.g. "Applied" changes the state of the application from being just a lead to being an open application and it also filters out data for being e.g. abandoned). But the "leads" stage means the same thing as the first stage. So drop the "leads" stage and instead make flows go from all three input stages directly into "bad lead", "abandoned" or "applied".
Combine both to get the best result.
Is there any site that does this?
Don't know if there's a ready-made site for stuff like that, but it's not hard to do.
Here's a quick and dirty AI generated piece of trash code as a proof of concept:
Couldn't be bothered to write this by hand for just an online comment. There's enough that can be improved with this, but I think it's ok to show how it can be done quite easily.
Thanks for sharing that. Seems like a promising vis technique but would work better with fewer final states than I used for a regular Sankey.
I'm sure it's possible to move the final states to the middle positions like you did. But I didn't want to invest more time.