Fix topoligical ordering on the graph

This commit is contained in:
2023-09-05 12:14:41 +02:00
parent 7a1a97dac8
commit 0f78053ccf
6 changed files with 105 additions and 27 deletions

View File

@ -15,3 +15,12 @@ Print a short string representation of the edge to io.
function show(io::IO, e::Edge)
return print(io, "Edge(", e.edge[1], ", ", e.edge[2], ")")
end
"""
to_var_name(id::UUID)
Return the uuid as a string usable as a variable name in code generation.
"""
function to_var_name(id::UUID)
return replace(string(id), "-" => "_")
end