ArgumentOutOfRangeException

Sep 21, 2009 at 12:43 AM

First of all, thanks for this great library. There is one issue i faced while integrating graph# into one of my projects. GraphLayout' s ChangeState functions throws ArgumentOutOfRange exception wile executing the line below. 

protected void ChangeState

{

(int stateIndex)var activeState = _layoutStates[stateIndex];

...

}

Is this an initialization issue? I based my implementation on the samples, probably missed some steps.

Thanks in advance.

Oct 12, 2009 at 7:35 AM

I have the same problem,

An attempt to add a check (if _layoutStates.Count==0) return;) does work, but nothing is shown as a result.

The problem in figuring out what happens is that you need to dive deep in the code, due to lack of comments or documentation. This is really to bad.

Oct 28, 2009 at 9:14 PM

I posted a similar problem to the issue list here http://graphsharp.codeplex.com/WorkItem/View.aspx?WorkItemId=3933