How to construct table-like diagram with "frozen" vertical and horizontal headers?

Hi,
I need a diagram which uses a grid. Nodes, which have different properties and fall in different template’ categories, snap to this grid. Also the grid cells related to particular vertical and horizontal headers. On a bigger data set, I want that headers to stay within the view, while the rest of diagram can be scrolled (like freeze pane functionality in Excel). Do you have any samples related to this ?
I see a few ways to achieve such result but not sure how to proceed.

Thank you.

Lots of choices here. I don’t know what would be best for you, though.

I would probably allow the whole diagram to be scrolled, and move the headers to compensate. You could do that in a “ViewportBoundsChanged” DiagramEvent listener.