Dear All,
I am trying to evaluate the Mindfusion Diagram capabilities, and it looks great from what i started to see

!
However, i am blocked by a small issue ... An Exception raised by FindAllCycles method of PathFinder Class when the 'undirected links' option is set to true.
Here is my simple code :
Dim testDiagram As New Diagram
Dim node1, node2 As ShapeNode
node1 = testDiagram.Factory.CreateShapeNode(50, 100, 120, 80, MindFusion.Diagramming.Shapes.Plaque)
node2 = testDiagram.Factory.CreateShapeNode(50, 100, 120, 80, MindFusion.Diagramming.Shapes.Plaque)
Dim link1, link2 As DiagramLink
link1 = testDiagram.Factory.CreateDiagramLink(node1, node2)
link2 = testDiagram.Factory.CreateDiagramLink(node2, node1)
Dim PathFind As New PathFinder(testDiagram, True)
Dim listcycles As PathCollection
listcycles = PathFind.FindAllCycles()
In this code, the FindAllCycles raised an Exception :
'System.ArgumentNullException' --> Value can not be null
When i change the PathFinder option from
True to
False the code is going well.
What could be the explanation of that ?
Thanks for your help