Custom Edge Style

Oct 16, 2012 at 8:17 PM
Edited Oct 16, 2012 at 8:17 PM

Hi, I'd like to change the colors for certain edges. 

Effectively something like this (this would make this edge red).

 

g.AddEdge(new Edge<object>("A","B"), Color.Red);

 

Does anyone have any code snippets for this?

Coordinator
Oct 17, 2012 at 10:47 PM

See the answer here: http://stackoverflow.com/questions/12935835/adding-custom-style-to-edge-in-graphsharp

Oct 18, 2012 at 12:14 AM

The answer is great! Thanks Palesz!