Consider replacing GraphViz

Created on 29 September 2023, over 1 year ago

Problem/Motivation

GraphViz requires a custom setup / libraries to be included with the user's server setup. It would be good to do GraphViz without GraphViz.

When reviewing the landscape of alternative graphing toolkits, I have become curious about BPMN.io used by the ECA module to create a flowchart of for their Rules like module. I've been investigating whether it could be used to create a flowchart of migrations and their interdependcies.

From the outset, the end target of the UI that I've imagined is a little different from yours. It's based on my previous experience using ETL tools like KETTLE/Pentaho. I'd love to discuss it with you.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

โœจ Feature request
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @cosmicdreams
  • ๐Ÿ‡ณ๐Ÿ‡ฟNew Zealand xurizaemon ลŒtepoti, Aotearoa ๐Ÿ

    Hi @cosmicdreams! Apologies for missing this issue posted here until you raised the topic in Slack the other day :)

    BPMN does look cool, and I am interested to have an explore of making that work within this module. (I am happy to support progress on that within this module, and I am also happy for that progress to happen in some other module. If this is the right place for it, great!

    There is another issue raised at โœจ [Spike] Change to BPMN.iO Active - eventually one will be closed duplicate, but no rush. For the most part this module has been unmaintained the last few years ... I had the opportunity of a sprint at DrupalSouth today, so I got things a bit tidied up, intending to support BPMN output as a third option.

    I don't (yet) believe we need to replace GraphViz? I implemented both GraphViz and MermaidJS in round one of this module, and it should function OK without GraphViz, falling back to MermaidJS only if there's no server support. So I'm changing the title to "Add BPMN output format" because if we add BPMN we will have three options for display.

    At this stage, I believe that missing GraphViz should be handled in the UI of this module. If you're aware of an issue that occurs when the server lacks GraphViz support, please open a specific bug report for that, and I'm happy to look into it. Please include steps to reproduce and observed behaviour when doing so. See Drupal\migrate_visualize\Form::buildForm() source for more.

Production build 0.71.5 2024