Net2Vis
Net2Vis copied to clipboard
Name label overlap with each other
Name label overlap with each other as shown in the picture
It could be solved if the label is rotated a little bit.
Thank you for that remark. Adding an option to rotate the labels as you suggested would be a great addition. I currently don't have the time to address this, I hope to get though most of these issues in October. Otherwise if you want to implement something, I can give you pointers as to where to change code.
Thank you for replying. I wish I could help, but I'm still new to this area, so I'm not sure if I can help. You can let me know the location of the pointers. I can try it.
On Sun, Sep 5, 2021 at 6:17 AM Alex Bäuerle @.***> wrote:
Thank you for that remark. Adding an option to rotate the labels as you suggested would be a great addition. I currently don't have the time to address this, I hope to get though most of these issues in October. Otherwise if you want to implement something, I can give you pointers as to where to change code.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/viscom-ulm/Net2Vis/issues/26#issuecomment-913134080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIXO3EPCOPXYEVDTJJDXFTUANGWBANCNFSM5DNWHSSA .
This would probably require another input like this: https://github.com/viscom-ulm/Net2Vis/blob/0ffca8207c24da70f6f45dfd01ca924c3b782732/net2vis/src/components/preferences/NetworkPreferencesComponent.js#L237-L244
including a state param that reflects this setting.
Then, in https://github.com/viscom-ulm/Net2Vis/blob/0ffca8207c24da70f6f45dfd01ca924c3b782732/net2vis/src/components/network/NameLabelComponent.js, you want to apply the rotation depending on this state variable.