Edge Distance Calculation - In Kibana graph Feature

How does the node "edge distance is calculated" , and why is it different for each node?
image

Hi @Dimple.P

the graph app uses a "force directed layout" to represent nodes and edges on a 2d plane.
This layout system performs a physics simulation of the given nodes and edges, which works roughly this way:

  • each node has a repulsive force that pushes away other nodes
  • each edge works like a spring that stretches and compress based on the force above

When these two forces reach an equilibrium then the layout stops.
The "edge distance" is basically the equilibrium distance the edge spring model reaches.

If you want to know more about it, the force directed model used is the d3 one you can find here: GitHub - d3/d3-force: Force-directed graph layout using velocity Verlet integration.

Understood, Thankyou for your response..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.