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.