-
Notifications
You must be signed in to change notification settings - Fork 12
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
Workflow level inputs/outputs #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks that a lot of code was changed. But mostly all constructions have done better then were before.
Thank you! Great job!
@voidest , could you please rebase this PR onto #30 ? |
fc7b96e
to
02bba36
Compare
@sidoruka, done. I've also added methods to enable/disable ports on a whole diagram. |
@voidest , thanks a lot. |
@sidoruka Yes of course! I will inform you as soon I'll be able to do that |
Apparently, jointjs handles group addition of new cells to graph in more efficient way than adding on-by-one. Therefore, update mechanism was changed in order to speed up update.
Often user does not want to observe all links of a diagram and in case of huge workflows, the number of links may bring more chaos than usefulness/ Thus, each port now can be visually disabled by shft+click. When disabled, it appears transparent and all connected links are hidden.
af3d6fa
to
df524d4
Compare
General idea
At the moment, workflow is not shown on the diagram, which makes user unable to manage links between worklow and its children. This feature was requested in #10. Unfortunaly, on comples diagarams workflow has too many links wis children and they occupy too much visual space and hinder visual perception. Therefore, port toggling was implemented. By shift-clicking on port one can enable/disable it. Workflow ports are disabled by default.
Changes
Added visual port toggling mechanism, added VisualWorkflow entity and added workflow to the diagram.