Jump to Menu

How to Tidy-Up Diagrams with Sweeper and Magnet?

When you need to insert/ remove a diagram element between two diagram elements, you may find it annoying and time-consuming to move model elements one by one and to keep the layout neatly.

Compatible edition(s): Enterprise, Professional, Standard, Modeler

  • February 19, 2016
  • Views: 35,394
  • PDF
  • Video

With sweeper and magnet, you can increase the space or narrow the space between the diagram elements respectively. Furthermore, you can insert or remove diagram elements easily while maintaining the layout.

Preparation

With sweeper and magnet, you can increase the space or narrow the space between the diagram elements respectively. Furthermore, you can insert or remove diagram elements easily while maintaining the layout.

Creating space using Sweeper

  1. Create a new project. You can create a project by selecting Project > New... from the application toolbar.
  2. In the New Project window, enter Tutorial as project name and click Create Blank Project.
  3. Create a business process diagram. Select Diagram > New from the application toolbar. Select Business Process Diagram in the New Diagram window and click Next. Click OK to confirm creation.
    new business process diagram
  4. Draw a simple diagram like this:
    simple business process diagram
  5. Now, let's add shapes in between the two tasks by using Sweeper. Select the Sweeper tool from the diagram toolbar.
    select sweeper tool
  6. Press the space between the two tasks.
    press on diagram
  7. Hold the mouse button and drag towards the right hand side to create more space.
    drag on diagram
  8. Release the mouse button to complete the action.
    sweeper applied

Adding shapes in created space

Now, you have enough room for creating shapes. To edit the existing flow by introducing new shapes, you can delete the flow and re-draw the new shapes. Alternatively, use the split resource to split a flow with new shapes. In this section, we will show you how to use the split resource.

  1. Move the mouse pointer over the sequence flow connector to show the split resource.
    mouse over sequence flow
  2. Click on the split resource.
    split sequence flow
  3. Select the type of shape to create. In this case, select Gateway.
    create gateway
  4. Name the gateway Is Order Valid? and press Enter to confirm editing.
    gateway created
  5. Complete the diagram by creating other shapes.
    diagram created

Removing space using Magnet

When complete, there may be redundant spaces between shapes. Use magnet to remove that space.

  1. Select the Magnet tool from the diagram toolbar.
    using magnet
  2. Press on the redundant space.
  3. Hold the mouse button and drag towards the left hand side to remove the space.
    using magnet
  4. Release the mouse button to complete the action.
    final business process diagram

Watch this tutorial on YouTube

Here is the video version of this tutorial.


Turn every software project into a successful one.

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.

OK