Layout/Positioning based on distance to center

Algorithms and parameters to put data in space
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Peter22
Posts:2
Joined:30 Jun 2017 02:40
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Layout/Positioning based on distance to center

Post by Peter22 » 30 Jun 2017 02:52

Hello,

is it possible to apply a layout (like the Fruchterman Reingold) and dictate the distance of any node to the center?

I have 25 different nodes, each of them has a value between 2 000 and 10 000 and I want the nodes with the higher values to be positioned closer to the center. (Theoretically they are all linked to the center (node), but I don't want these links to be shown)

So the forced layout should be applied to position the nodes evenly in a layout with the according distance to the center.

Additionally, all the 25 nodes are linked with different strenghts/weights to each other.Here higher edge values should lead to thicker edges between the nodes, the distance in terms of length of an edge between two nodes doesn't matter (position of nodes dictated in the first step should be kept!)

And is it then possible to set a cutoff value (weight>x) to only show edges with edge weights above the cutoff value?

Thanks in advance!

Peter

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable