Skip to main content

render_text

Function render_text 

Source
pub fn render_text(graph: &RelationGraph) -> String
Expand description

Serializes all known relations reachable from an anchor.

Local node numbers come from semantic sorting instead of process-global NodeId allocation order, so repeated exports of the same graph state are byte-for-byte stable. Control characters are escaped so a symbol cannot break the deliberately simple one-record-per-line presentation.