2.5.1Create a custom diagram

To create a custom diagram you have to go on "Diagrams->Customize" and click on Create. A dialog box is displayed (see Figure 1).

output_html_m707751f9.png

Figure 1 : Wizard for Diagram customize – Specify diagram type and icon

You have to define:

  • The name of the type of the custom diagram (Type)
  • The base diagram type
  • The abbreviation
  • The category (optional)
  • The icons

Click on Next to continue. A new dialog box is displayed (see Figure 2).

output_html_m63e826e9.png

Figure 2 : Wizard for Diagram customize – Specify modules

You can add a module for your custom diagram. Click on Next to continue. A new dialog box is displayed (see Figure 3).

output_html_4d0b985d.png

Figure 3 : Wizard for Diagram customize – Specify toolbars

You have to choose an existing toolbar or create your own one – click on Add Toolbar. To select existing one select it and to create a new toolbar you click on New Toolbar. A dialog box is displayed where you define the name of your toolbar. Click on OK to validate and on Next to continue. A new dialog box is displayed (see Figure 4).

output_html_42dbb0eb.png

Figure 4 : Wizard for Diagram customize – Specify toolbars buttons

You can manage a toolbar which only contains the required buttons for your custom diagram. To add a button you go to "Add->Activity Diagrams" or "Add->Activity Diagrams->other". To change the name and/or the icon of the buttons you click on Edit.

Click on Next to continue. A new dialog box is displayed (see Figure 5).

output_html_m1d0b9e60.png

Figure 5 : Wizard for Diagram customize – Specify symbols properties

To define the specific properties of the symbols of the toolbar of your custom diagram, you have to change their properties. They will appear in blue font. Click on Next to continue. A new dialog box is displayed (see Figure 6).

output_html_1a0b9cf1.png

Figure 6 : Wizard for Diagram customize – Specify smart manipulators

Click on Finish to continue. The Customize Diagram box is displayed with your custom diagram (see Figure 7). Click on Ok to finish.

output_html_m190bde3e.png

Figure 7 : Wizard for Diagram customize – Result of create


output_html_3aa3f22d.png

To use the custom diagram, you need to re-start MagicDraw after the creation.


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission