Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9719

SWF diagram - Auto layout always breaks user layout

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Open serverless-workflow-combined-editor.
        • Enable edit mode in DiagramEditor.java:
          • Change readOnly mode to false: "stunnerEditor.setReadOnly(false);"
        • To use the editor you can run the following commands in kie-tools repo:
          pnpm bootstrap
          pnpm -r -F @kie-tools/serverless-workflow-diagram-editor... build:prod
          pnpm -r -F serverless-workflow-combined-editor... build:prod
          (cd $KIE_TOOLS_HOME/packages/serverless-workflow-combined-editor && pnpm run start)
          
        • Open http://localhost:9002/ in a browser.
      2. Open any workflow and change the node's layout manually from diagram.
      3. Create a state using Toolbox.

      Actual result

      Custom layout is changed to automatic for the whole diagram.

      Expected result

      Custom layout is preserved where possible.
      Only affected states are changed.

      Show
      Open serverless-workflow-combined-editor. Enable edit mode in DiagramEditor.java : Change readOnly mode to false: "stunnerEditor.setReadOnly(false);" To use the editor you can run the following commands in kie-tools repo: pnpm bootstrap pnpm -r -F @kie-tools/serverless-workflow-diagram-editor... build:prod pnpm -r -F serverless-workflow-combined-editor... build:prod (cd $KIE_TOOLS_HOME/packages/serverless-workflow-combined-editor && pnpm run start) Open http://localhost:9002/ in a browser. Open any workflow and change the node's layout manually from diagram. Create a state using Toolbox. Actual result Custom layout is changed to automatic for the whole diagram. Expected result Custom layout is preserved where possible. Only affected states are changed.
    • ---
    • ---

      Auto layout always breaks user layout.

              handreyrc Handrey Cunha
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: