private Rect FindPosition(StateInstanceNodeView nodeView) { Rect position = nodeView.GetPosition(); position.x += 150f * (nodes.ToList().Count % 2); position.y += 150f * (nodes.ToList().Count / 2); return(position); }