fixed alignement issues in the image generation

This commit is contained in:
weckyy702
2020-12-26 18:20:42 +01:00
parent 03bff02fdf
commit dc7e93741d
4 changed files with 23 additions and 18 deletions

View File

@@ -110,7 +110,7 @@ class Gui:
pass
if event == '-JAVA FOLDER-':
logging.debug(('event = ' + str(event) +
' value = ' + str(values['-JAVA FOLDER-'])))
' value = ' + str(values['-JAVA FOLDER-'])))
folder = values['-JAVA FOLDER-']
window['-JAVA FOLDER-'].update(values['-JAVA FILE-'])

View File

@@ -6,7 +6,7 @@ from draw.Iinstruction import *
def nassi(filepath:str, output_path: str, gui):
print('')
NSD = NassiShneidermanDiagram(gui=gui)
NSD = NassiShneidermanDiagram(gui.debug_mode)
NSD.load_from_file(filepath)
NSD.convert_to_image(output_path + "/Nassi-Shneider-Diagramm", 500)