I'm using the GraphSharp framework which has very little documentation (http://graphsharp.codeplex.com/), and I'm trying to change the colors for certain edges.
Effectively something like this (to make this edge red).
g.AddEdge(new Edge<object>("A","B"), Color.Red);
Does anyone have any code snippets for this?
here is the solution. You should create a custom edge type, and store the color information in the edge object itself, or be able to create a converter that can calculate the color from the edge object.
Also, you should customize the
EdgeControl
with someStyle
.XAML: