Spaces:
Running
Running
Commit ·
3105a78
1
Parent(s): 8cdcc3a
Layout: Swap axes to flow top-to-bottom for sequential and horizontal for sub-blocks
Browse files88 unmodified lines89909192939492939495969788 unmodified lines var node = layerNodes[i]; var nodeGuid = idMap[node.Id];
// Symmetric distribution vertically around Y = 0 double posX = layer * StepX; double posY = (i - (count - 1) / 2.0) * StepY; // Symmetric distribution horizontally around X = 0, and sequential progression top-to-bottom double posX = (i - (count - 1) / 2.0) * StepX; double posY = layer * StepY;
// Determine visual properties string? nodeColor = null;FlowAPI.Application/Services/AutoLayoutEngine.cs+3-3