+ new structure

This commit is contained in:
oleting
2020-12-24 00:17:54 +01:00
parent dca758b597
commit 5c6cf88991
13 changed files with 142 additions and 135 deletions

12
gui/utils.py Normal file
View File

@@ -0,0 +1,12 @@
from interpreter.NassiShneidermann import NassiShneidermanDiagram
from draw.Iinstruction import *
def nassi(filepath:str, output_path: str):
NSD = NassiShneidermanDiagram(False)
NSD.load_from_file(filepath)
NSD.convert_to_image(output_path + "/Nassi-Shneider-Diagramm", 500)
if __name__ == "__main__":
"""Debugging"""
nassi("res/input/input.java", "res/output")