Nested Box diagrams using Custom Layouts

69 views
Skip to first unread message

Michael Ellyett

unread,
Jul 23, 2024, 1:31:46 AM7/23/24
to draw.io Q&A
I am trying to load in a structure of code and get a nested box diagram created.

I have tried using all possible parameters on mxStackLayout and mxHierarchicalLayout to work with no affect.

Basically I want to layout a structure like this
Screen Shot 2024-07-23 at 1.26.58 PM.png
so that it looks like this
Screen Shot 2024-07-23 at 1.27.51 PM.png
and I have tried custom layouts like

layout": "mxStackLayout",

"config": { "gridSize": 1,

"resizeParent": 0,

"resizeLast": 1,

"border": 1,

"fill": 1,

"wrap": 2,"borderCollapse": 1,

"allowGaps": 1,

"spacing": 4


"layout": "mxHierarchicalLayout",

"config": {

"resizeParent": 1,

"moveParent": 1,

"traverseAncestors": 1,

"fineTuning": 1,

"parentBorder": 1


Figuring if I could get the custom layouts working I could add them to the CSV import.

Any help much appreciated
Michael
Reply all
Reply to author
Forward
0 new messages