Documentation
¶
Overview ¶
Package ipmtext serializes a model.IpmGraph back to canonical ipmt text — the inverse of ipm-tools' ipmt parser. Used by cmd-dev/ipm-to-ipmt and by cmd-dev/corpus-gallery (to emit an editable .ipmt next to each graph).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serialize ¶
Serialize renders the graph as ipmt: one alias-tagged node declaration per node (`a::a name ::type ["tooltip" ::tip]`), then one line per edge using `--::L-->`, `--::P-->`, `--::X-->`, and `--::N--`. Reconstructed from graph structure only (ignores src.ipmt / src.positions), so it round-trips through the parser to an equivalent graph.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.