Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1976

Improve drag and drop onto palette with automatic wiring support

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes, User Experience
    • Release Notes Text:
      Hide
      See Description of the issue.
      Known Problem:
      Not fully working with container elements like choice.
      Show
      See Description of the issue. Known Problem: Not fully working with container elements like choice.

      Description

      Idea:
      When dropping a figure on another (for instance a log onto a timer) then this will connect these two figures automatically if allowed. If timer already is connected to another figure (lets say bean) then it automatically inserts the log between the timer and the bean doing all needed rewiring. We need to check in those cases if the final wiring state would be allowed or not before actually allowing the drop.

      The insert could also be done / or additionally by dropping a figure on a connection.

      --------------------------------------------------------------------------

      How it works now:
      ---------------------------
      This feature makes it possible to drop a figure on the diagram and automatically get it wired to other nodes. The current solution supports 2 modes:

      Append:
      You can now drop new nodes from the palette onto a node in the diagram (lets call that node drop target). If the drop target has an outgoing connection to another node you are not allowed to drop the new node. If the drop target has no outgoing connection the new node will be placed behind the drop target and then automatically connect drop target to new node.

      Insert:
      This mode only works on connections between diagram figures. If you drop a new node onto a connection then it will be inserted between the two nodes connected by this connection. Example: you have a file poller connected to a file writer. You drop a log endpoint on the connection between these 2 figures. The new flow looks like this: File Poller --> Log --> File Writer.

        Gliffy Diagrams

          Attachments

          1. issue2-after.png
            issue2-after.png
            258 kB
          2. issue2-before.png
            issue2-before.png
            232 kB
          3. wrong_wiring.png
            wrong_wiring.png
            21 kB

            Issue Links

              Activity

                People

                • Assignee:
                  lhein Lars Heinemann
                  Reporter:
                  lhein Lars Heinemann
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: