12 lines
384 B
Python
12 lines
384 B
Python
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") |