Concore editor

Introduction

Concore Editor is a fork of DHGWorkflow, visual Directed Hypergraph Workflow Composer, finetuned to operate as a frontend for concore.

Key Features of the concore Editor:

Export-import graph as a graphml file. Export graph as JPEG/PNG Undo-Redo Actions Drag Drop Nodes Create Edges easily Bend Edges and many more!

How to use?

_images/ce-folderload.png
  • Now, click on the directory which was uploaded and then click on the .graphml to open it in workspace.

_images/ce-fileopen.png
  • Edit the .graphml as wanted and save it.

  • To build the .graphml file, concore fri(server) needs to be switched on. To do so:

First, clone the concore repository from https://github.com/ControlCore-Project/concore.

$ cd concore

$ pip install -r requirements.txt

$ cd fri

$ cd server

$ python main.py

It will start the Flask server.

  • After switching on the server, click on the server button in concore editor’s tab bar. You will see all the concore functions appearing there.

_images/ce-server.png
  • There is an options button which can be seen. It provides the flexibility to take input from user about how a particular study should be build.

    • Checkmark docker checkbox if study to be build as docker image.

    • Checkmark octave checkbox if uploaded graphml contains matplotlib extension and has to be build via octave.

    • Enter the time for which you want the study to debug in maxtime field.

    • Enter customize parameters in params if there are any.

NOTE: The options can be changed only before executing build or clear.

_images/ce-options.png
  • Last step is to perform concore functions on opened .graphml in order given in below flowchart.

_images/ce-flowchart.png

Note: Executing concore functions in different order can result in errors and breakages.