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 the edition of the routing points #997

Closed
sbegaudeau opened this issue Jan 21, 2022 · 0 comments · Fixed by #1080
Closed

Add support for the edition of the routing points #997

sbegaudeau opened this issue Jan 21, 2022 · 0 comments · Fixed by #1080

Comments

@sbegaudeau
Copy link
Member

No description provided.

@sbegaudeau sbegaudeau added this to the 2022.03.0 milestone Jan 21, 2022
gcoutable added a commit that referenced this issue Feb 24, 2022
Do not handle self-loop edge yet.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
When the model is updated after a new version of the diagram has been
sent by the backend, the next time the cursor mouse listener is
triggered (at the next mouse move), it updates the model and thus,
forces sprotty to render the diagram again. Sometime it may look like
the diagram is blinking especially when an edge is selected and one of
its routing points has been modified.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Do not handle self-loop edge.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
When the model is updated after a new version of the diagram has been
sent by the backend, the next time the cursor mouse listener is
triggered (at the next mouse move), it updates the model and thus,
forces sprotty to render the diagram again. Sometime it may look like
the diagram is blinking especially when an edge is selected and one of
its routing points has been modified.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 24, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Feb 25, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
@sbegaudeau sbegaudeau modified the milestones: 2022.3.0, 2022.5.0 Mar 18, 2022
gcoutable added a commit that referenced this issue Mar 30, 2022
Do not handle self-loop edge.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable added a commit that referenced this issue Mar 30, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
- Frontend:
  - during move, routing points of edges with source and target in
resolvedMove are also moved.
- Backend (incremental layout):
  - Need to compute the delta between previous position and new position
of the moved node
  - Because we can only move one node at a time, apply the delta to
routing points of edges which have source and target contained by the
moved element

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Move eveything related to the sirius drag and drop module in a specific
folder including the resize feature

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Update routing point position of edge "contained" by a node moved by the
overlap updater.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
- Replace the sprotty reconnect command by an empty one. The empty
reconnect command will be removed as soon as we will support the edge
reconnection.
- An edge end can still be moved, but the move will never be taken
account.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 3, 2022
- Replace the sprotty reconnect command by an empty one. The empty
reconnect command will be removed as soon as we will support the edge
reconnection.
- An edge end can still be moved, but the move will never be taken
account.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Do not handle self-loop edge.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
When the model is updated after a new version of the diagram has been
sent by the backend, the next time the cursor mouse listener is
triggered (at the next mouse move), it updates the model and thus,
forces sprotty to render the diagram again. Sometime it may look like
the diagram is blinking especially when an edge is selected and one of
its routing points has been modified.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
- Frontend:
  - during move, routing points of edges with source and target in
resolvedMove are also moved.
- Backend (incremental layout):
  - Need to compute the delta between previous position and new position
of the moved node
  - Because we can only move one node at a time, apply the delta to
routing points of edges which have source and target contained by the
moved element

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Move eveything related to the sirius drag and drop module in a specific
folder including the resize feature

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Update routing point position of edge "contained" by a node moved by the
overlap updater.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
- Replace the sprotty reconnect command by an empty one. The empty
reconnect command will be removed as soon as we will support the edge
reconnection.
- An edge end can still be moved, but the move will never be taken
account.

Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Oct 4, 2022
Bug: #997
Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants