Graphstream: Set a minimum distance between Nodes

935 Views Asked by At

I'm using graphstream to do some simple graph visualization. I've found most of the documentation helpful and easy to read, but I was unable to find a way to make sure nodes don't get too close together.

The nodes in my graph have numbers as labels, and I want to make sure that nodes don't overlap and obscure each other. Is there a simple way to go about this?

1

There are 1 best solutions below

0
On

As per the FAQ about the layout algorithm you can try to set a layout.weight attribute with value larger than 1 on the edges.