-
Notifications
You must be signed in to change notification settings - Fork 233
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/link labels (#101) #121
Feature/link labels (#101) #121
Conversation
I tried to fix all the tests but I suppose you are still working on some features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome contribution! Unfortunately, the directional graph feature is not ready yet 😞 Let me work on that and I'll come back to you as soon as it is merged, then we can proceed with this!
c866acd
to
102ea54
Compare
0a527f1
to
34e68fe
Compare
Hello there @Droow! The directed graph branch was merged now. If you wanna give it a try go ahead now! |
Hey there @Droow just created the branch feature/labels-on-links where I resolved the conflicts and did some cleaning, you can resume your work from there, if you're not interested in continue please let me know. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, I needed to add labels to links (edges) and since there are a few other issues regarding this subject (#101 and #47) I decided to give it a go and implement it. I build it on top of your directional-graph branch because I needed this feature too.
Font color, weight and size can be changed in the same way as with nodes (via config or per link). Also you can choose from which property is the label coming from (same as node's labelProperty). For now, these labels are exactly in the middle of link and are copying its curve. If necessary it can be easily moved to config.
Let me know if you want me to change something or add more config options. Hope it helps!