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

Workflow level inputs/outputs #31

Merged
merged 9 commits into from
May 29, 2017
Merged

Workflow level inputs/outputs #31

merged 9 commits into from
May 29, 2017

Conversation

voidest
Copy link
Contributor

@voidest voidest commented May 26, 2017

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.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 95.855% when pulling 765ea55 on feature/workflow-inputs into 1fdf67c on dev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 95.855% when pulling fc7b96e on feature/workflow-inputs into 1fdf67c on dev.

Copy link
Collaborator

@daniilsavchuk daniilsavchuk left a 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!

@sidoruka
Copy link
Contributor

@voidest , could you please rebase this PR onto #30 ?
Also it would be nice to add some words on this feature to the Demo app doc: demo-app-edit-visual.md . Could you add this too to this PR?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 95.855% when pulling 02bba36 on feature/workflow-inputs into 34ebd93 on dev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 95.855% when pulling af3d6fa on feature/workflow-inputs into 34ebd93 on dev.

@voidest
Copy link
Contributor Author

voidest commented May 29, 2017

@sidoruka, done. I've also added methods to enable/disable ports on a whole diagram.

@daniilsavchuk
Copy link
Collaborator

@voidest @sidoruka Is the last comment means that we have to add the methods corresponding GUI buttons on demo stend?

@sidoruka
Copy link
Contributor

@voidest , thanks a lot.
@daniilsavchuk , sure. I'll merge this PR and after that could you please add appropriate button to the upper-left toolbar of the demo-app. I.e. by default all links shall be hidden, toggling "Show workflow-level links" button shall visual all links and vice versa.

@daniilsavchuk
Copy link
Collaborator

daniilsavchuk commented May 29, 2017

@sidoruka Yes of course! I will inform you as soon I'll be able to do that

Alexey Terentjev added 9 commits May 29, 2017 13:33
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.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 95.855% when pulling df524d4 on feature/workflow-inputs into 3ec6843 on dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants