documentationfor yFiles for HTML 3.0.0.1

Layout Stages and Multi-Stage Layouts

Some of yFiles’ more complex layout algorithms benefit from applying generalized pre- and post-processing stages. In yFiles for HTML 2.6, these algorithms implemented MultiStageLayout, which offered a framework to configure and execute the necessary stages. However, the inheritance introduced some conveniences for stages that were not helpful for a specific MultiStageLayout implementation. yFiles for HTML 3.0 replaces this inheritance-based approach by making a LayoutStageStack, as well as tailored convenience properties for accessing relevant stages, available on the respective algorithms. In addition, each ILayoutStage now offers an enabled property to conveniently enable or disable stages on the stack.

For more details also check the API documentation of the respective algorithm: