Commit a08405ce authored by Lucas Bourneuf's avatar Lucas Bourneuf

import order fix + dot_writer bugfix

parent 2c3682d9
__version__ = '0.0.7.dev0'
from .script import Script
from .core import run, single_image_from_filenames, multiple_images_from_filenames, gif_from_filenames, compile_to_single_image, compile_to_images, compile_context_to_dots, compile_context_to_dot
from .module_loader import build_scripts_from_file, build_scripts_from_dir
__version__ = '0.0.7.dev0'
......@@ -170,4 +170,4 @@ def compile_context_to_dot(context:str, nb_model:int=0) -> str:
configs = asp_to_dot.visual_config_from_asp(
solve_context(context, nb_model=nb_model)
)
return dot_writer.one_graph_from_configs(configs)
return '\n'.join(dot_writer.one_graph_from_configs(configs))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment