Adding an Operation

Last modified on August 6th, 2014.


An 'Operation' construct can be added to a 'Class Diagram' via drag-and-drop. A 'Class' must be added to the diagram first before this construct can be added. Below is an outline of the steps for adding an 'Operation' construct to a 'Class Diagram':

  1. Within a 'Class Diagram', click the 'Operation (Action)' icon in the 'New' tab of the left sidebar and continue to hold down the left mouse button.

    Click New Operation

  2. Drag the 'Operation (Action)' icon over to the bottom section of the destination 'Class' of your choice.

    Drag New Operation

  3. When the 'Class' box highlights green, release the left mouse button to drop the new 'Operation' and add it to the diagram.

    Drop New Operation

    Notice the 'Operation' stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions which can be used on the construct. The sidebar also changes to include additional 'Attributes' and 'Metadata' tabs.

  4. Once added to the diagram, enter a meaningful 'Name' for your new 'Operation' via the 'Attributes' tab of the left sidebar (focused automatically for convenience).

    Name New Operation

  5. Click the 'Save' button located on the toolbar to persist your changes to your project's database.

 

Please Note:

Adding an Operation

Last modified on August 6th, 2014. 


An ‘Operation’ construct can be added to a ‘Class Diagram’ via drag-and-drop. A ‘Class’ must be added to the diagram first before this construct can be added. Below is an outline of the steps for adding an ‘Operation’ construct to a ‘Class Diagram’:

  1. Within a ‘Class Diagram’, click the ‘Operation (Action)’ icon in the ‘New’ tab of the left sidebar and continue to hold down the left mouse button.

    Click New Operation

  2. Drag the ‘Operation (Action)’ icon over to the bottom section of the destination ‘Class’ of your choice.

    Drag New Operation

  3. When the ‘Class’ box highlights green, release the left mouse button to drop the new ‘Operation’ and add it to the diagram.

    Drop New Operation

    Notice the ‘Operation’ stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions which can be used on the construct. The sidebar also changes to include additional ‘Attributes’ and ‘Metadata’ tabs.

  4. Once added to the diagram, enter a meaningful ‘Name’ for your new ‘Operation’ via the ‘Attributes’ tab of the left sidebar (focused automatically for convenience).

    Name New Operation

  5. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.

 

Please Note:
  • The above process describes using the ‘New’ tab of the left sidebar, which automatically generates a new entity to represent each new diagram construct. If you would like to reuse existing entities from your database to represent a new construct, use the ‘Existing’ tab instead.
  • For more information on this construct and how it is represented in the database model, see Class Diagram Constructs.