This pretends to show a sheet of paper with the diagram on it. Both the DraggingTool and the ResizingTool are constrained to keep the nodes within the area of the sheet of paper, minus the margins. The user can zoom and scroll/pan normally. There are several variables, such as pageSize, that govern how the diagram is set up.