-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Vertical Pools and Lanes Modeling #507
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is not on our roadmap. If someone wants to contribute --- we accept PRs. |
This comment has been minimized.
This comment has been minimized.
We'll not support vertical collaboration, unless we receive a contribution for it. Related we may implement proper rendering of vertical pools (#57) some time maybe. |
@nikku I'd like to contribute to this feature. I think I can implement resizing via drag&drop and using the space tool. |
@sombrek As an initial step I'd suggest you to see what is currently broken, and summarize it here. We can then go ahead and give you pointers where to fix things. |
@nikku Here's a summary of what I've got so far.
I also noticed some existing quirks for horizontal pools and I would like your input on this.
I have identified Other areas of work:
I think full support also needs new icons...
... and new translatable texts. In both cases I don't know the extra work that might be required. |
You've done a good job identifying most aspects of making vertical pools work. As you can see, there are many. I'd suggest starting with the smallest possible increment, which I think would be:
For that, I'd suggest creating a separate issue to track this so this issue can serve as the epic. I've updated the description of this issue to include a full breakdown of everything we have to account for. We can start ticking off these boxes one by one. What do you think? |
There was a lot of progress regarding this feature. All tasks in "vertical pools and lanes can be updated" should work now, except for "pools can be switched between horizontal and vertical". There haven't been any UI updates to reflect this feature. "Vertical modeling is enabled in vertical pools", i.e. auto-place does work. However, it is not perfect yet, due to issue #2127. I'm giving this update, because some time may pass until my next contribution. Thanks for all your kind and helpful support. |
Thank you for your amazing work on this epic. I updated the top comment according to the progress delivered. |
@sombrek Some amazing contributions, indeed, thank you! Will make some users happy 🍰 🥇 |
@sombrek This is amazing! Looking forward to creating pools and lanes. Been waiting for it for years. Also what is the progress on these two things and how can I help?
|
@rip222 At the moment there will be no progress from my side. If you simply want to add a vertical pool to your diagram, I recommend the steps I described in the forum. Once your pool is vertical, most existing features will work as expected. If you'd like to try implementing more features, here are some starting points. I'm not 100 % sure, but to create vertical pools via code, you would have to extend the bpmn-js/lib/features/modeling/ElementFactory.js Lines 337 to 351 in abd8c6c
To create pools using the modeler, you might have (in addition to the above) create a plugin that provides this feature as an extension of the PaletteProvider. I say plugin, because the maintainers may not want this feature available by default. Regarding updating: You'd have to write new code that translates horizontal pools and lanes into vertical ones (and vice versa), but not their content (at least not as part of the first iteration). This could be made available in the ContextPadProvider (possibly as a plugin as well). If you want to pick up any of this, simply create an issue to get in contact with the maintainers. You can see examples of how I did it in some of the linked issues above my previous post. |
@sombrek Thanks for the guidance ❤️ @rip222 As a maintainer I fully subscribe to #507 (comment). Specifically, whether you want to model vertically or horizontally may be a decision that you take upfront (editor setting, or that is inferred from the context; we do not aim to provide you the option to switch back and forth during editing in the out-of-the-box experience. |
Introduction
Modeling of vertical pools and lanes is a feature request we see once in a while. It is also part of the MIWG test suite, case
A.4.1
specifically. While we do not want to promote vertical modeling in general, we should support it under the hood.Breakdown
Referenced in forum.
The text was updated successfully, but these errors were encountered: