Inserts a validated panel at the root of an empty layout or beside a target.
Current tree.
Panel definition to add.
Target id, edge, and new split id; null is valid only for an empty tree.
A new validated layout.
If ids, placement, or sizing constraints are invalid.
Inserts a validated panel at the root of an empty layout or beside a target.