seal5.backends.dot.viewer

Export an M2-ISA-R model and its behavior as a Graphviz diagram.

Functions

build_tree(model_obj[, include_operations])

Build the hierarchy and, optionally, behavior tree for a model.

describe_type(value)

Return the current M2-ISA-R type representation for a model value.

export_tree(root, output_path)

Write a tree as DOT source or a Graphviz-rendered image.

main()

Load a model and export its visualization.

sort_instruction(entry)

Sort instructions by encoding restrictiveness.