public static void AutoPositionLines(ActivityLineCollection lines)
        {
            if (lines.Count == 0)
            {
                return;
            }

            Activity    activity    = lines[0].StartActivity;
            ProcessView processView = EnsureProcessView(activity.Process);

            ProcessViewActivityLayoutData layout = processView.ActivityLayoutData(activity);
            int lineSpacing = layout.UserSize.Width / lines.Count;
            int offset      = lineSpacing / 2;

            for (int i = 0; i < lines.Count; i++)
            {
                Line line = lines[i];
                processView.LineLayoutData(line).StartOffsetMaximized =
                    new System.Drawing.Point(offset, processView.LineLayoutData(line).StartOffsetMaximized.Y);
                offset += lineSpacing;
            }
        }