Merge branch 'main' of https://github.com/plexx-dev/Nassi-Shneiderman-Diagramm-Generator into main
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from os import cpu_count
|
from os import cpu_count
|
||||||
from code_to_image import NSD_save
|
from code_to_image import NSD_save
|
||||||
from Iinstruction import Iinstruction
|
from Iinstruction import Iinstruction
|
||||||
import interpet_source as itp
|
from interpet_source import load_src, get_scoped_instructions
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
class NassiShneidermanDiagram:
|
class NassiShneidermanDiagram:
|
||||||
@@ -31,8 +31,8 @@ class NassiShneidermanDiagram:
|
|||||||
cti.NSD_save(filename)
|
cti.NSD_save(filename)
|
||||||
|
|
||||||
def load_from_file(self, filepath:str):
|
def load_from_file(self, filepath:str):
|
||||||
source_code = itp.load_src(filepath)
|
source_code = load_src(filepath)
|
||||||
instructions = itp.get_scoped_instructions(filepath)
|
instructions = get_scoped_instructions(filepath)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user