Where to Find Up-to-date yFiles Information

This page is from the outdated yFiles for Java 2.13 documentation. You can find the most up-to-date documentation for all yFiles products on the yFiles documentation overview page.

Please see the following links for more information about the yFiles product family of diagramming programming libraries and corresponding yFiles products for modern web apps, for cross-platform Java(FX) applications, and for applications for the Microsoft .NET environment.

More about the yFiles product family Close X

Automatic Layout

Automatic layout for a diagram containing table structures that are modeled using TableGroupNodeRealizer can be conveniently invoked using class Graph2DLayoutExecutor, which performs all necessary setup. Internally, it uses the TableLayoutConfigurator class and class GroupLayoutConfigurator.

TableLayoutConfigurator converts relevant parts of the TableGroupNodeRealizer's model for the table structure into data accessor-based information that is understood by IncrementalHierachicLayouter which supports automatic tabular layout. In particular, this information includes:

Note that the row and column is determined geometrically, by the node's center coordinates.