Version: dev

Graphs

Component, expression and reference graphs of a document, and exporting them as DOT, Mermaid or JSON.

OperationKindBindingsSummary
build_reference_graphfunctionJulia, TypeScript, Python, Rust, GoResolve the reference edges of one model dict into a graph.
component_graphfunctionJulia, TypeScript, Python, RustGenerate component-level graph showing systems and their couplings.
expression_graphfunctionJulia, TypeScript, Python, RustThe variable-level dependency graph (esm-libraries-spec §4.8.2): one VariableNode per variable, and a DependencyEdge from each variable an equation or reaction reads to the…
resolve_referencesfunctionJulia, TypeScript, Python, Rust, GoResolve reference edges for every model in document.
to_dotfunctionJulia, TypeScript, Python, Rust, GoExport graph to DOT format for Graphviz rendering.
to_json_graphfunctionJulia, TypeScript, Python, Rust, GoExport graph to the JSON adjacency list of esm-libraries-spec §4.8.3.
to_mermaidfunctionJulia, TypeScript, Python, Rust, GoExport graph to Mermaid format for markdown embedding.
component_graphtypeTypeScript, Rust, GoSystem graph representation with components and couplings
component_nodetypeJulia, TypeScript, Python, Rust, GoComponent-level node representing a model, reaction system, data source, or operator.
coupling_edgetypeJulia, TypeScript, Python, Rust, GoEdge representing coupling between components.
dependency_edgetypeJulia, TypeScript, Python, Rust, GoEdge representing dependency between variables.
edge_kindtypeTypeScript, Python, Rust, GoThe three kinds of reference edge (RFC §6.1 “Propagation”).
expression_graphtypeRust, GoExpression graph representing variable dependencies within expressions
expression_graph_optionstypeRust, GoSettings for expression_graph_with_options.
graphtypeJulia, TypeScript, Python, Rust, GoGeneric graph structure with nodes and edges.
graph_edgetypePython, GoOne directed edge: node keys plus the edge payload.
reference_edgetypeJulia, TypeScript, Python, Rust, GoA directed source → target edge: source references / depends on target.
reference_graphtypeJulia, TypeScript, Python, Rust, GoThe resolved reference DAG for one model — the partition pass’s input.
reference_vertextypeJulia, TypeScript, Python, Rust, GoA vertex in the reference graph, addressed by a kind-namespaced key ("$kind:$name").
variable_nodetypeJulia, TypeScript, Python, Rust, GoVariable-level node for expression graphs.
vertex_kindtypeTypeScript, Python, Rust, GoThe three kinds of vertex in the reference graph.
reference_resolution_errorerrorJulia, TypeScript, Python, Rust, GoA reference could not be resolved, or the reference graph has a cycle.

All topics