Simple .NET library to display graphs

Hi everyone,

An example of graph
An example of graph

A very short post to share this first draft of a simple .net library to handle graphs. It allows to add nodes, pins, connections, and events on the graph. Some properties and events are directly accessible through the properties/events pane in visual studio.

It’s probably missing a lot in terms of functionnalities, however the below features are already there:

  • Nodes, Pins and Connections manipulation (Add, modify, remove)
  • Selected state, selectors (click, rectangle…)
  • Events (click, double click, picking on the connections)
  • So far, the nodes are only boxes, and only contains a main and sub titles. However, there might be other shapes later, with a way to customize the nodes content.

I’m using this component in a scripting tool I’m planning to add to the GameTools release.

If you find this component handy, or if you have feedbacks about it, don’t hesitate to let me know.

 

Download