|
@@ -18,9 +18,6 @@ Boolean function main(model : Element):
|
|
|
instantiate_attribute(model, file, "name", rule + ".dot")
|
|
|
instantiate_attribute(model, file, "content", content)
|
|
|
|
|
|
- log("File " + cast_string(list_read(string_split(rule, "/"), 1)) + ".dot")
|
|
|
- log(content)
|
|
|
-
|
|
|
return True!
|
|
|
|
|
|
String function print_rule(model : Element, rule : String):
|
|
@@ -93,8 +90,6 @@ String function print_rule(model : Element, rule : String):
|
|
|
style = "color=\"blue\", style=\"dashed\""
|
|
|
elif (type == "Rules/NACEdge"):
|
|
|
style = "color=\"red\", style=\"dotted\""
|
|
|
- else:
|
|
|
- log("Unknown style for type: " + type)
|
|
|
|
|
|
// Try to add value
|
|
|
source = string_replace(readAssociationSource(model, edge), "/", "_")
|
|
@@ -116,5 +111,4 @@ String function print_rule(model : Element, rule : String):
|
|
|
// Close everything
|
|
|
text = text + "}"
|
|
|
|
|
|
- log("Generated text: " + text)
|
|
|
return text!
|