I am a Phlow Mondrian (graph) view specification.
I serialize a node list, adjacency matrix, and layout name so that
GT can render the graph via GtPhlowMondrianViewSpecification.
The API mirrors GT's Mondrian: nodes/2 sets the domain objects,
node_label/2 extracts display text, edges/2 returns children
from the same collection. Each serialized node carries both a
label (for display) and object (the original domain item, for
click-to-inspect).
Public API
title/2— set the view titlepriority/2— set the view prioritynodes/2— set the node list (list or 0-arity fn)node_label/2— set the node→label functionedges/2— set the item→children functionlayout/2— set the layout atomas_dict/1— serialize for GT transport