Hierarchical graph representations for nested document structures

Extend the two-relation spatial graph representation used by Fragment to hierarchical graph formulations that can represent nested or deeply hierarchical document structures, such as nested table cells.

Background

Fragment represents structured documents as typed relational graphs whose edges encode spatial relations such as “below” and “right-of.” This representation is designed for Manhattan-style layouts and supports the Architect’s structural generation and the Builder’s attribute realization.

The paper explicitly identifies a limitation for documents containing nested or deeply hierarchical structures, noting that the current spatial edge types provide limited representational capacity in such settings. Developing a hierarchical graph formulation is therefore left as an unresolved direction for more expressive document generation and editing.

References

The two spatial edge types capture Manhattan-style layouts effectively but provide limited representation for nested or deeply hierarchical structures (e.g., nested table cells); extending to hierarchical graph formulations remains an open direction.

FRAGMENT: Factorized Graph Representations for Document Generation and Editing via Entity-Aware Transformations  (2608.18679 - Bouchtili et al., 19 Aug 2026) in Discussion, paragraph “Limitations” (Section 8)