I need to split a rectangle Rect Structure, Rect(Double X, Double Y, Double Width, Double Height) into a number of smaller rectangles/structures for n = 2, n= 4 and n = 6, i define a Rect for my Diagram (Nodes and Links) that bounds the whole Diagram
Rect b = activeDiagram.Panel.DiagramBounds;
Can someone provide an example of doing it with my structure in C#?