This sample demonstrates creating a simple custom PanelLayout. It merely cascades the elements diagonally, as if combining a Horizontal and Vertical panel.

Creating your own Panel layouts is very uncommon, and you should not need to create your own to use GoJS effectively. However there may be apps that require creating a custom Panel layout because the standard panel layouts do not offer the precise behavior that you want.

GoJS Features in this sample