Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-30-2018 07:56 AM
neovis, how to visualize relationship with a specific length of the relashionship between the nodes, i get nodes very close to each other
Solved! Go to Solution.
08-30-2018 09:27 AM
The length of the relationships is determined by the results of a physics simulation for the force directed layout. The underlying vis.js library allows for overriding the relationship length determined by the physics simulation: http://visjs.org/docs/network/edges.html , however this is not exposed directly through neovis.js.
I've created an issue for exposing all vis.js configuration options through neovis.js, as this has become a common request. Please track the issue for updates on when this is implemented: https://github.com/neo4j-contrib/neovis.js/issues/36
One option you could try now is the hierarchical layout option, which would replace the force directed layout and may result in a more favorable layout for your dataset: https://github.com/neo4j-contrib/neovis.js#confighierarchical_layout
08-30-2018 09:27 AM
The length of the relationships is determined by the results of a physics simulation for the force directed layout. The underlying vis.js library allows for overriding the relationship length determined by the physics simulation: http://visjs.org/docs/network/edges.html , however this is not exposed directly through neovis.js.
I've created an issue for exposing all vis.js configuration options through neovis.js, as this has become a common request. Please track the issue for updates on when this is implemented: https://github.com/neo4j-contrib/neovis.js/issues/36
One option you could try now is the hierarchical layout option, which would replace the force directed layout and may result in a more favorable layout for your dataset: https://github.com/neo4j-contrib/neovis.js#confighierarchical_layout
All the sessions of the conference are now available online