Skip to content

This project includes a force-directed layout algorithm in C# and a SilverLight control that uses the algorithm to layout a graph of connected nodes. Nodes can be represented by any SilverLight control that can be added to a canvas.

License

Notifications You must be signed in to change notification settings

PhillP/SilverSpring

Repository files navigation

SilverSpring

This project includes:

  • a force-directed layout algorithm in C#. See Wikipedia page on force-based algorithms
  • a Silverlight control (SilverSpringCanvas) that uses the algorithm to layout child elements

Credits & Mentions

  • The springy.js javascript library by (@dhotson) provided some inspiration for SilverSpring, particularly the idea of visualizing the graph during the layout calculation.
  • The contents of a stackoverflow post helped to work out the required arrow drawing code. See stackoverflow post.

Example

See an example here

About

This project includes a force-directed layout algorithm in C# and a SilverLight control that uses the algorithm to layout a graph of connected nodes. Nodes can be represented by any SilverLight control that can be added to a canvas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published