Skip to content
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

Conversation

Droow
Copy link

@Droow Droow commented Oct 3, 2018

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!

@Droow
Copy link
Author

Droow commented Oct 3, 2018

I tried to fix all the tests but I suppose you are still working on some features.

Copy link
Owner

@danielcaldas danielcaldas left a 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!

@danielcaldas danielcaldas force-pushed the feature/directional-graph branch 2 times, most recently from c866acd to 102ea54 Compare October 7, 2018 13:22
@danielcaldas danielcaldas force-pushed the feature/directional-graph branch 2 times, most recently from 0a527f1 to 34e68fe Compare October 14, 2018 13:11
@danielcaldas
Copy link
Owner

Hello there @Droow! The directed graph branch was merged now. If you wanna give it a try go ahead now!

@danielcaldas
Copy link
Owner

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.

@stale
Copy link

stale bot commented Nov 29, 2018

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.

@stale stale bot added the wontfix label Nov 29, 2018
@stale stale bot closed this Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants