User Tools

Site Tools


wiki:workfloweditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:workfloweditor [2019/06/20 16:41] – created stanislavsulcwiki:workfloweditor [2022/06/09 10:45] (current) bp
Line 1: Line 1:
-  * [[https://github.com/mupif/workflowgenerator|MuPIF Workflow Generator]], which provides automatic class or execution Python code generation for given workflow structure.  +====== Workflow Editor and Code Generator ====== 
-  [[https://github.com/mupif/workfloweditor|MuPIF Workflow Editor]], which is a graphical extension for MuPIF Workflow Generator to compose simulation workflows and generate the Python code easily. Installation instructions:<code>+This tool is a graphical editor of a workflow structure, which can generate a Python code for the simulation. It is based on [[https://github.com/mupif/workflowgenerator|MuPIF Workflow Generator]], which provides the Python class or execution code generation. 
 + 
 +[[https://github.com/mupif/workfloweditor|MuPIF Workflow Editor]], is a graphical extension for MuPIF Workflow Generator to compose the simulation workflows, define the simulation parameters and generate the Python code easily. 
 + 
 +{{ :wiki:images:mwg_full.gif?nolink |}} 
 + 
 +How to install on Ubuntu: 
 +<code>
 apt-get install python3-pyqt5 apt-get install python3-pyqt5
 pip install termcolor pip install termcolor
Line 6: Line 13:
 git clone https://github.com/mupif/workflowgenerator.git git clone https://github.com/mupif/workflowgenerator.git
 git clone https://github.com/mupif/workfloweditor.git git clone https://github.com/mupif/workfloweditor.git
-</code> Alternatively, you can test it with Docker. The repository is [[https://hub.docker.com/r/stanislavsulc/mupif_workflow_editor|here]].+</code> 
 + 
 +How to install on Windows: 
 +<code> 
 +pip install pyqt5 
 +pip install termcolor 
 +pip install mupif 
 +git clone https://github.com/mupif/workflowgenerator.git 
 +git clone https://github.com/mupif/workfloweditor.git 
 +</code> 
 + 
 +On both these operating systems you need to add the paths of workflowgenerator and workfloweditor to the system variable PYTHONPATH. 
 + 
 +Runnig the examples: 
 +<code> 
 +# An empty workflow 
 +python workfloweditor/workfloweditor/examples/example01_empty/example01.py 
 + 
 +# Thermo-Mechanical simulation 
 +# 1) A class workflow of the thermo-mechanical simulation. 
 +python workfloweditor/workfloweditor/examples/example02_tm_cantilever/main_class_code_generation.py 
 +# 2) An execution workflow using the thermo-mechanical class workflow from the line above together with export to VTK. 
 +python workfloweditor/workfloweditor/examples/example02_tm_cantilever/main_exec_code_generation.py 
 +</code>
wiki/workfloweditor.1561041680.txt.gz · Last modified: 2019/06/20 16:41 by stanislavsulc