Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for collapsed subprocess #85

Open
9 of 22 tasks
valb3r opened this issue Jun 7, 2020 · 0 comments · May be fixed by #286
Open
9 of 22 tasks

Add support for collapsed subprocess #85

valb3r opened this issue Jun 7, 2020 · 0 comments · May be fixed by #286
Assignees
Labels
enhancement New feature or request high
Projects

Comments

@valb3r
Copy link
Owner

valb3r commented Jun 7, 2020

Is your feature request related to a problem? Please describe.
Support for expansion and collapse of the process like this:

  • Expansion moves external elements to sides, even if they are on middle they move to some side
  • Expansion does not affect child elements
  • Expansion increases the size of the parent process
<subProcess id="collapsedSubProcess" name="Collapsed subprocess name" flowable:async="true">
            <documentation>Collapsed sub process docs</documentation>
            <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="COLLECTION" flowable:elementVariable="ELEM_VAR">
                <loopCardinality>12</loopCardinality>
                <completionCondition>completionCondition</completionCondition>
            </multiInstanceLoopCharacteristics>
</subProcess>

Feature analysis:

  • Excessive complexity of changing diagram in 'expanded' state

TODOs:

  • Capability to add collapsed subprocess
  • Elements inside collapsed subprocess should have relative coordinates to parent
  • Prevent moving intermediate waypoints if expanded subprocess is active on a given level
  • Prevent resizing other
  • Warning that some features were disabled when process was expanded
  • Incorrect new sequence element inside collapsed subprocess start/end coordinates (unexpanded)
  • New sequence element inside collapsed subprocess/subprocess should not select (parent) subprocess
  • Expansion of collapsed subprocess within another collapsed subprocess
  • Resizing elements works smoothly
  • Editing of collapsed and expanded collapsed subprocess size
  • Prevent moving expanded collapsed subprocess as it causes severe visual distortions
  • Element editing inside the collapsed subprocess
  • Subprocess and alike elements should shield their children from external expansion view transform
  • Correct location inversion when adding a new element (currently they are misplaced)
  • Fix boundary and informal element rendering (i.e. delete action) as it does not take expansion view in account
  • Misplaced expansion/collapse icon on expanded process

Shortcomings that can't be fixed due to displacement jumps:

  • Not all locations can be inverted - causes jumpy behavior of dragging element action
  • Edge midpoints may occur outside of edge

Requirements:

  • Expandable (including within subprocess) collapsed subprocess
  • Analyze iterative inverse transform
  • Read-only mode if at least one collapsed subprocess expanded
  • Simple expansion view transformation
  • Expansion propagates from bottom-to-top, but subprocess should shield its children from outer expansion
  • Edit icon, to edit collapsed subprocess in-same-window (like flowable modeler)
@valb3r valb3r added enhancement New feature or request high labels Jun 7, 2020
@valb3r valb3r added this to TODO in MVP plugin Jun 7, 2020
@valb3r valb3r moved this from TODO to In progress in MVP plugin Jul 30, 2020
@valb3r valb3r self-assigned this Jul 30, 2020
@valb3r valb3r moved this from In progress to TODO in MVP plugin Aug 21, 2020
@valb3r valb3r moved this from TODO to In progress in MVP plugin Aug 28, 2020
@valb3r valb3r linked a pull request Nov 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high
Projects
MVP plugin
  
In progress
Development

Successfully merging a pull request may close this issue.

1 participant