Giter Site home page Giter Site logo

Comments (13)

AlexDM0 avatar AlexDM0 commented on July 26, 2024

That is a good point, I have not considered the labels. I will look into this.

from vis.

okoral avatar okoral commented on July 26, 2024

Many thanks!

from vis.

AlexDM0 avatar AlexDM0 commented on July 26, 2024

The labels are now positioned at the center of the curve as would be expected. Release containing this fix will be today or tomorrow

from vis.

okoral avatar okoral commented on July 26, 2024

Wow, that's was very quick!
It will be very helpful for me once the fix will be released (I saw that version 0.60 doesn't include the fix).

Thank you very much!

from vis.

AlexDM0 avatar AlexDM0 commented on July 26, 2024

The fix will be included in version 0.6.1. Our company internet is
currently protesting so we will release 0.6.1 when it is restored. We hope
as soon as possible.

Regards,

Alex

On 6 mrt. 2014, at 10:00, orikoral [email protected] wrote:

Wow, that's was very quick!
It will be very helpful for me once the fix will be released (I saw that
version 0.60 doesn't include the fix).

Thank you very much!

Reply to this email directly or view it on
GitHubhttps://github.com//issues/49#issuecomment-36836327
.

from vis.

okoral avatar okoral commented on July 26, 2024

Thank you.
Appreciate it.

from vis.

okoral avatar okoral commented on July 26, 2024

Hi Alex,
Some of my nodes have long labels and they hide the edge label since the edge starts at the center of the node and not from the node's edge (and then the center of the edge is behind the node itself):
image

Thanks.

from vis.

AlexDM0 avatar AlexDM0 commented on July 26, 2024

Hi Orik,

This is tricky :) I set the arrow sources to go to the centers per #55. Though I think this situation is more important, I'll change it back.

Regards,

Alex

from vis.

okoral avatar okoral commented on July 26, 2024

Alex, If I didn't mention it yet, I have to tell you that your library is amazing and your service is even more than amazing. Thank you so much!

I hope I'm not getting in trouble with joaofgf ;)

Regards,
Ori.

from vis.

AlexDM0 avatar AlexDM0 commented on July 26, 2024

Hi Orik, I'm glad you enjoy our libary. Correctly handling big nodes was something we wanted to look into but since there are just too many ways to do this (all data is different) we decided the configurePhysics was probably the way to go. It is still something we're looking into, but for now, the legibility of labels supersedes the esthetic appeal of them going to the center.

from vis.

okoral avatar okoral commented on July 26, 2024

I tried to solve that issue by playing with the 'configurePhysics' options and it can be solved by working with longer edges, but since I have large nodes, the edges have to be quite long and then very few nodes are displayed in the canvas. So I agree that the legibility is more important and that the edges should start from the edge of the node by default. Maybe you can add a configuration option for edges to start from the center for people who are using transparent images and care about esthetics?

from vis.

AlexDM0 avatar AlexDM0 commented on July 26, 2024

Adding such an option would essentially be ignoring the problem caused by big nodes. We'll look into a more elegant solution. In the meantime, the transparent image problem can very easily be solved by making an aesthetically pleasing border around the image.

from vis.

okoral avatar okoral commented on July 26, 2024

Agree. Thanks!

from vis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.