utils

Functions

find_path_bfs(matrix, start_row, start_col, ...)

Find path from start to end in the matrix.

parse_diagram_command(str_cmd)

Returns a diagram command or None if it's not a diagram command

parse_diagram_commands(template_contents)

Returns a list of diagram commands parsed from the template modelica contents i.e. it will find any instances of {{ diagram.<cmd>.* }} in the template.

Classes

DiagramLine(a_name, a_port, b_name, b_port)

DiagramTransformation(model_name, model_type)