graph edge-force play-tool

The prelude of this weekend brought me to remember some earlier musings about the workings of graph layout algorithms. Namely how a graph might behave, if its edges have target-lengths assigned. Deviation from that value cause expanding or contracting forces onto the two nodes it is incident with.

Then, for the rest of the weekend (quite literally) I implemented said algorithm. And… as it always happens, some little extra features around that core functionality found its way in. I am very happy about the result. Despite the lack of applicability I find it quite enjoyable to play around. To see how different setups behave and create strange structures or beatiful ones, symmetric and balanced like a diamond.

Go try it yourself if you wish, here it is.

screenshotGraphEdgeForce

Advertisements

Published by

Benjamin Aaron Degenhart

Currently pursuing a Masters in Computational Science and Engineering at TU Munich.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s