Mouse Gesture in Visual Paradigm Desktop

Diagramming often involves repeating a small number of operations: creating shapes, connecting elements, adding model members, and arranging information. Although these operations can be performed through menus, toolbars, and diagram resources, switching between commands can interrupt the modeling process.

Mouse Gesture in Visual Paradigm Desktop provides an alternative way to execute diagramming commands. By pressing and dragging the right mouse button to draw a gesture directly on the diagram pane, users can create shapes, connect existing elements, and perform other supported actions without repeatedly selecting commands from the interface.

Mouse Gesture is designed to make diagram editing more direct and efficient. It is particularly useful when a modeler is creating or extending a diagram and wants to keep attention on the diagram itself.

What Is Mouse Gesture?

Mouse Gesture is a diagram-editing capability that recognizes a path drawn with the right mouse button and maps that path to a supported modeling action.

Instead of selecting a shape from a palette or opening a command menu, the user draws a gesture on the diagram pane. When the mouse button is released, Visual Paradigm interprets the gesture and performs the corresponding action.

Depending on the active diagram and the gesture, the result may be:

  • A new diagram shape or model element.
  • A new connector between existing shapes.
  • A new shape connected to an existing shape.
  • A class attribute or operation.
  • Another supported diagram command, such as opening a diagram specification or changing the diagram view.

Mouse Gesture is context-sensitive. The available gestures depend on the diagram type and the modeling elements being edited.

Why Is Mouse Gesture Useful?

Mouse Gesture offers a more direct way to perform common modeling actions. Its value is not simply that it replaces a click with a drag. It allows modelers to work through recognizable drawing motions while remaining focused on the diagram.

Create model elements without repeatedly opening menus

When building a diagram, users frequently need to create the same kinds of elements. Mouse Gesture can provide a shortcut for supported shapes and commands.

For example, a modeler working on an Activity Diagram can use the supported gestures for actions, activities, decision nodes, and initial or final nodes.

Connect elements directly on the diagram

Relationships are central to many modeling notations. Mouse Gesture supports drawing a path from one shape to another to create a connector.

This makes it possible to connect model elements directly through a right-button drag rather than selecting a connector tool first.

Create a connected shape in one operation

When a new model element needs to be added in relation to an existing one, Mouse Gesture can help combine shape creation and connection.

Draw from an existing shape toward an empty area of the diagram. After releasing the mouse button, Visual Paradigm displays a pop-up menu in which you can choose the desired shape and connector type.

This workflow is useful when extending a model one relationship at a time.

Add class members more efficiently

In a UML Class Diagram, Mouse Gesture supports specific gestures for adding attributes and operations to a class.

The direction of the gesture and whether it ends inside or outside the class determine the resulting member behavior. This can make common class-editing tasks quicker.

Keep the modeling workflow focused

Because gestures are performed directly on the diagram pane, users can perform supported actions without constantly moving between the diagram and toolbars or menus.

This can be particularly helpful during iterative modeling, when the diagram is being built and refined continuously.

How to Use Mouse Gesture

Mouse Gesture works by drawing a path with the right mouse button.

Basic workflow

Open a diagram

Open the diagram you want to edit in Visual Paradigm Desktop.

Start a gesture

Move the pointer to the appropriate location on the diagram pane. Press and hold the right mouse button.

Draw the gesture path

While holding the right mouse button, drag the pointer to draw the desired path.

The gesture may represent a shape, a connection, or another supported action. The available interpretation depends on the active diagram and the context in which the gesture is drawn.

Release the mouse button

When the gesture is complete, release the right mouse button.

Visual Paradigm processes the gesture and performs the corresponding action. After a shape-creation gesture, the action description is displayed in the upper-right area of the diagram.

Creating Shapes with Mouse Gesture

Mouse Gesture can be used to create diagram shapes by drawing a recognizable path on the diagram pane.

For example, Visual Paradigm’s documentation illustrates drawing a clockwise rectangular path to create a Class shape.

The general workflow is:

  1. Press and hold the right mouse button on the diagram pane.
  2. Draw the path corresponding to the desired shape gesture.
  3. Release the mouse button.
  4. Check the resulting shape and the action description shown by the application.

The exact gesture depends on the shape and diagram type. Rather than relying on a guessed list of gesture directions, use the Mouse Gestures reference window in Visual Paradigm to see the supported paths for the current application version.

Adding Attributes and Operations to a Class

One of the useful applications of Mouse Gesture is adding members to a class directly in a UML Class Diagram.

Visual Paradigm supports different gestures for attributes and operations.

Create an attribute

To create an attribute, draw a line from right to left within the class.

After the gesture is completed, an attribute is created.

There is also a variation based on where the gesture ends. If the line is drawn until it extends outside the class, Visual Paradigm creates an attribute with the Property stereotype.

This provides a quick way to create a class attribute and, when appropriate, indicate the property-related behavior.

Create an operation

To create an operation, draw a line from left to right within the class.

The resulting operation is created with protected visibility.

If the gesture extends outside the class, the operation is created with public visibility instead.

The distinction is useful when adding operations with different intended visibility levels.

Summary of class-member gestures

Gesture Result
Draw from right to left within a class Create an attribute
Draw from right to left and extend outside the class Create an attribute with the Property stereotype
Draw from left to right within a class Create a protected operation
Draw from left to right and extend outside the class Create a public operation

These behaviors are documented for Visual Paradigm’s Class Diagram mouse gestures. They should not be confused with ordinary text editing or with manually changing a member’s properties after creation.

Connecting Existing Shapes

Mouse Gesture can create a connector between two existing shapes.

Step-by-step instructions

  1. Position the pointer over the source shape.
  2. Press and hold the right mouse button.
  3. Drag a line from the source shape to the destination shape.
  4. Release the mouse button.

Visual Paradigm creates a connector between the two shapes.

The resulting connector depends on the gesture and the diagram context. For example, the documented example shows an association being created between two shapes.

This is useful in diagrams where relationships are added frequently, such as Use Case Diagrams, Class Diagrams, and other supported modeling diagrams.

Creating a New Shape and Connecting It

Mouse Gesture also supports creating a new shape at a preferred location while connecting it to an existing shape.

This is particularly useful when extending a model because it combines two related operations: adding a new element and establishing its relationship with an existing one.

Step-by-step instructions

Start from an existing shape

Position the pointer over the shape from which the new element should be connected.

Draw toward an empty area

Press and hold the right mouse button, then drag toward the location where the new shape should appear.

Release the mouse button

After releasing the mouse, Visual Paradigm displays a pop-up menu.

Choose the shape and connector

Select the desired shape type and connector type from the available choices.

Visual Paradigm creates the new shape and its connection to the original shape.

This workflow can be useful when adding a new class to a Class Diagram, a new use case to a Use Case Diagram, or another supported model element to an existing model structure.

Supported Mouse Gesture Categories

Mouse Gesture supports a range of commands and model elements. The available gestures are organized by diagram category.

The following overview summarizes categories documented in Visual Paradigm’s Mouse Gesture reference.

General diagram commands

General gestures include commands that are not limited to a single modeling notation:

  • Layout diagram.
  • Open diagram specification.
  • Connect new shape.
  • Connect existing shape.
  • Close diagram.
  • Thumbnail view.

Activity Diagram

Supported Activity Diagram gestures include:

  • Action.
  • Activity.
  • Decision Node.
  • Initial Node and Final Node.

For the initial and final node gesture, Visual Paradigm creates an Initial Node if one does not yet exist; otherwise, it creates a Final Node if one does not yet exist.

Business Process Diagram

The documented Business Process Diagram gesture category includes:

  • Sub-Process.
  • Pool or Task.
  • Horizontal Lane.
  • Vertical Lane.

These gestures can help users construct process structures more directly.

Class Diagram

Class Diagram gestures include:

  • Synchronize to ERD.
  • Class.
  • Package.
  • Add attribute.
  • Add operation.

The attribute and operation gestures include the behavior described earlier, where the gesture direction and its endpoint influence the resulting member.

Communication Diagram

Supported gestures include:

  • Synchronize to Sequence Diagram.
  • Lifeline.
  • Actor.
  • Package.

Component Diagram

Supported gestures include:

  • Component.
  • Instance Specification.
  • Package.
  • Collaboration Use.

Composite Structure Diagram

Supported gestures include:

  • Class.
  • Interface.
  • Collaboration.
  • Collaboration Use.

Data Flow Diagram

Supported gestures include:

  • Process.
  • External Entity.
  • Data Store.

Deployment Diagram

Supported gestures include:

  • Node.
  • Component.
  • Instance Specification.
  • Package.

Entity Relationship Diagram

Supported gestures include:

  • Synchronize to Class Diagram.
  • Entity.
  • Add column.

Interaction Overview Diagram

Supported gestures include:

  • Interaction.
  • Decision Node.
  • Initial Node and Final Node.

Other supported diagram categories

The Mouse Gesture reference also lists gestures for additional diagram types, including:

  • EJB Diagram: Entity Bean, Message-Driven Bean, Session Bean, and Package.
  • Mind Mapping Diagram: Node.
  • Object Diagram: Instance Specification, Class, and Package.
  • ORM Diagram: synchronization between classes and entities, Class, Entity, and Package.
  • Overview Diagram: Diagram Overview.
  • Package Diagram: Package.
  • Sequence Diagram: synchronization to Communication Diagram, Lifeline, Actor, Alt, and Loop.
  • State Machine Diagram: State, Submachine State, and Initial Node or Final Node.
  • Timing Diagram: Frame.
  • Use Case Diagram: Use Case, Actor, and Package.

The exact gesture paths are illustrated in the application’s Mouse Gestures reference. The list of supported actions may vary by diagram type and application version.

How to Find the Supported Gesture Paths

Because different gestures correspond to different commands and diagram elements, it is useful to consult the built-in gesture reference rather than memorize every gesture.

Visual Paradigm provides a Mouse Gestures reference that displays the available gestures for different categories.

Open the Mouse Gestures reference

Select Help > Mouse Gestures from the main menu.

The Mouse Gestures window displays the available gesture categories.

Choose a diagram category

Select the category relevant to the diagram you are editing, such as Class Diagram, Activity Diagram, or Use Case Diagram.

Review the gesture descriptions

The reference shows the gesture icons and descriptions for the selected category. Use these examples to learn the supported drawing paths and the actions they trigger.

This reference is particularly useful when learning less frequently used gestures or when working with a diagram type that has specialized commands.

Enable or Disable Mouse Gesture

Visual Paradigm includes an application option for enabling Mouse Gesture.

The Environment Options documentation identifies an option named Enable Mouse Gesture. Its description explains that mouse gestures allow users to create and connect elements by forming gestures with the right mouse button.

If gestures do not behave as expected, check whether this option is enabled in the application’s environment settings.

The exact location of the option can depend on the application version and interface configuration. Consult the Environment Options documentation for the current settings reference.

Practical Examples

Extend a UML Class Diagram

Suppose you are modeling an online shopping system with classes such as Customer, Order, Product, and Payment.

You can use Mouse Gesture to create a class using its supported shape gesture, connect classes, and add attributes and operations directly within a class.

For example, after creating an Order class, you can add an attribute by drawing from right to left within the class. You can then add an operation by drawing from left to right.

This makes it possible to build up the structure of a class without repeatedly switching to separate editing commands.

Build a Use Case Diagram

When modeling a system’s functional requirements, you may need to add actors and use cases and connect them.

Mouse Gesture supports Actor, Use Case, and Package gestures in the Use Case Diagram category. It also supports connecting existing shapes and creating a new shape connected to an existing one.

This can make the process of extending a Use Case Diagram more direct.

Expand an Activity Diagram

An Activity Diagram often grows through repeated addition of actions, decisions, and control-flow structures.

Mouse Gesture supports Action, Activity, Decision Node, and Initial Node or Final Node gestures. These capabilities can help users add common process elements while keeping their attention on the diagram.

Add elements to a BPMN process

A Business Process Diagram may need additional tasks, subprocesses, pools, and lanes as the process model becomes more detailed.

The documented BPMN-related gesture category includes Sub-Process, Pool/Task, Horizontal Lane, and Vertical Lane. These gestures provide shortcuts for creating supported process elements.

Mouse Gesture Compared with Other Diagram-Editing Methods

Visual Paradigm provides several ways to create and connect diagram elements. Mouse Gesture complements these methods rather than replacing all of them.

Editing method Main purpose
Toolbar and menus Select commands explicitly from the application interface
Resource Catalog Create shapes and connect model elements through contextual diagram resources
Mouse Gesture Execute supported commands by drawing paths with the right mouse button
Manual shape editing Select, move, resize, or modify existing shapes and connectors

Mouse Gesture is most useful when the desired action has a supported gesture and the user is comfortable drawing that gesture. The toolbar, menus, and Resource Catalog remain useful when users want to browse available elements or choose a command explicitly.

Best Practices for Using Mouse Gesture

Learn the gestures for your most-used diagram types

You do not need to memorize every available gesture. Start with the diagram types you use most frequently and learn the actions you perform repeatedly.

For example, a Class Diagram modeler may benefit most from learning the class, attribute, operation, and connection gestures.

Use the built-in reference

The Mouse Gestures window provides a visual reference for the supported gesture paths. Consult it whenever you are unsure how a particular command should be drawn.

Pay attention to the drawing context

Some gestures behave differently depending on where they begin or end. Class-member gestures, for example, use direction and the endpoint’s position relative to the class to determine the resulting member.

Verify the result after each gesture

After completing a gesture, check that the intended shape, connector, or model element has been created. For shape creation, Visual Paradigm also displays an action description in the upper-right area of the diagram.

Use explicit commands when appropriate

Mouse Gesture is a shortcut, not a requirement. If a gesture is unfamiliar or you need to choose from several possible element types, use the toolbar, menu, or Resource Catalog instead.

Frequently Asked Questions

What is Mouse Gesture in Visual Paradigm Desktop?

Mouse Gesture is a diagram-editing feature that lets users execute supported commands by pressing and dragging the right mouse button to draw a gesture on the diagram pane.

Which mouse button is used?

Mouse Gesture uses the right mouse button. Press and hold it while drawing the gesture, then release it to execute the corresponding action.

Can Mouse Gesture create diagram shapes?

Yes. It supports shape creation for a variety of diagram types. For example, Visual Paradigm documents a clockwise rectangular gesture for creating a Class.

Can Mouse Gesture connect existing shapes?

Yes. Draw a line from one shape to another with the right mouse button and release it to create a connector.

Can Mouse Gesture create a new shape and connect it to an existing shape?

Yes. Draw from an existing shape toward an empty area. After releasing the mouse button, choose the desired shape and connector from the pop-up menu.

Can I add attributes and operations with Mouse Gesture?

Yes. In a Class Diagram, draw from right to left within a class to create an attribute. Draw from left to right within a class to create an operation.

How does Mouse Gesture determine operation visibility?

A left-to-right gesture ending inside the class creates a protected operation. If the gesture extends outside the class, a public operation is created.

How can I see all supported mouse gestures?

Select Help > Mouse Gestures to open the gesture reference. It organizes gestures by diagram category and shows their descriptions and drawing paths.

Can Mouse Gesture be disabled?

Visual Paradigm’s Environment Options include an Enable Mouse Gesture option. Consult the Environment Options documentation for the relevant setting in your application version.

Does every diagram support the same gestures?

No. The available gestures depend on the diagram category. Some commands are general, while others are specific to diagram types such as Class Diagram, Activity Diagram, Sequence Diagram, and Use Case Diagram.

Availability

Mouse Gesture is a diagram-editing capability in Visual Paradigm Desktop. The application documentation identifies an Enable Mouse Gesture environment option for controlling the feature.

For current product and edition information, consult the Visual Paradigm Editions Comparison.

Model More Efficiently with Visual Paradigm

Mouse Gesture offers a direct way to create and connect model elements through drawing motions. It can reduce repetitive command selection, make common editing operations more immediate, and help modelers maintain their focus on the structure of the diagram.

From adding class members to extending Activity Diagrams and connecting shapes, Mouse Gesture provides shortcuts for many common modeling tasks.

Explore Visual Paradigm Desktop to discover its diagramming tools and modeling capabilities.

References and Further Reading

Scroll to Top