-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Directed edges (with curve) #3
Comments
started experimenting with that here: |
Neat! Doesn't look like it would be too hard to implement. Don't have time to look into it right now, but what would be reeeeeally cool (and probably look better) is edge bundling. Seems like d3 has an API for this. |
don't know exactly how you would like to apply edge bundling but I'm actually quite happy with this now: http://benmaier.org/curved-edges/ edges are straight by default and only curved when two nodes both point to each other. Arrow heads are properly drawn, too. (wiggle around a bit and play around with the parameters) |
I've rewritten my code for easy usage and think it'd be neat to apply now. https://github.com/benmaier/curved-edges what do you think? :) |
I think you should write your damn thesis, Ben! Jokes it'll write itself. (jokes it wont :() It's fucking awesome! You're welcome to integrate it, otherwise I'll do it sometime next week :(. |
oh don't worry about integration yet, I think it'd be too much work currently -- We'd have to think about how to handle thresholding, how to redraw in matplotlib and how to design the whole process in Python. For the paper we don't really need it yet. Yes. Thesis 🤒 |
The way zoom works here is also very nice. I honestly can't remember why I implemented it the way I did, I think somehow I couldn't get it to work properly with canvas or something. But it's always annoyed me that I can't pan and zoom. |
ha. just copied bostock's force-directed layout :S |
No description provided.
The text was updated successfully, but these errors were encountered: