How DockLayout, BoxData, PanelData, and TabData work together
masterThe layout is structured as a hierarchy of nested objects:
- LayoutData: The root object containing a
dockbox(the main layout area) and an optionalfloatbox(for floating elements). - BoxData: A structural element that contains other boxes or panels. It defines the layout orientation using
mode('horizontal','vertical', or'float') and holdschildren. - PanelData: A visual container that holds a set of tabs. It includes a
tabsarray and an optionalpanelLockto prevent removal or floating. - TabData: The individual leaf nodes containing the actual content. Each tab requires a unique
id, atitle, andcontent(a React element or a function returning one).