You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question - We have been trying out the levels feature for nodes and that is working well when we have a limited set of nodes. Are there any suggestions around handling cases where you have an extensive list of nodes on the same level. What we are seeing is sometimes the text for the labels will run together. We have attempted to use avoid overlap for the nodes and various other visPhysics combinations by trial an error. Perhaps someone has run into this and there is a way to make the layout more clean?
Maybe this could be resolved like a staggered level or alternating levels? In other words a level which would intentionally have nodes slightly higher , slightly lower alternating so that the nodes labels would not overlap . Not sure how that would work?
One other thing I've noticed is that if I don't set the damping, unrelated nodes will also move. Dampening also effects the expansion of the nodes making them closer together, which sometimes is not desirable.
Is there any other unpublished guidance/recipes on how to vary many of the visPhysics parameters based on the set of nodes & edges? I'm aware of this http://visjs.org/examples/network/other/configuration.html and this almende/vis#555 , but not sure if there is anything else. Maybe a possible enhancement would be to include an example in
shiny::runApp(system.file("shiny", package = "visNetwork")) to showcase the features?
I will try to come up with a MCVE to demonstrate what i'm seeing, it may take me a bit of time as I will have to do a lot of redaction, thanks for the patience.
The text was updated successfully, but these errors were encountered:
dockstreet
changed the title
any suggestions on hierarchical layout for many many nodes on same line?
any suggestions on hierarchical layout for many many nodes on same level?
Nov 25, 2016
dockstreet
changed the title
any suggestions on hierarchical layout for many many nodes on same level?
question : any suggestions on hierarchical layout for many many nodes on same level?
Nov 28, 2016
I'm closing this as I believe the answer makes sense, and labels may in fact need to be part of the physics - perhaps almende/vis#1964 may need to be addressed firstly.
Question - We have been trying out the levels feature for nodes and that is working well when we have a limited set of nodes. Are there any suggestions around handling cases where you have an extensive list of nodes on the same level. What we are seeing is sometimes the text for the labels will run together. We have attempted to use avoid overlap for the nodes and various other visPhysics combinations by trial an error. Perhaps someone has run into this and there is a way to make the layout more clean?
Maybe this could be resolved like a staggered level or alternating levels? In other words a level which would intentionally have nodes slightly higher , slightly lower alternating so that the nodes labels would not overlap . Not sure how that would work?
One other thing I've noticed is that if I don't set the damping, unrelated nodes will also move. Dampening also effects the expansion of the nodes making them closer together, which sometimes is not desirable.
Is there any other unpublished guidance/recipes on how to vary many of the visPhysics parameters based on the set of nodes & edges? I'm aware of this http://visjs.org/examples/network/other/configuration.html and this almende/vis#555 , but not sure if there is anything else. Maybe a possible enhancement would be to include an example in
shiny::runApp(system.file("shiny", package = "visNetwork")) to showcase the features?
I will try to come up with a MCVE to demonstrate what i'm seeing, it may take me a bit of time as I will have to do a lot of redaction, thanks for the patience.
The text was updated successfully, but these errors were encountered: