Quickstart Guide
Welcome to Modeldraw! Get ready to dive into the world of intuitive UML design. This Quickstart Guide will guide you through the basics, empowering you to create clear and professional diagrams.
Creating your first diagram
In this guide we will create a Class diagram, which is the most common diagram in UML.
To create a new Class diagram
Open a model you want to work with by clicking Models from the top menu bar and selecting a model
In the left navigation tree right-click on Diagrams → Add diagram...
In the dialog that will show up select Class Diagram.
In the next step type "Tutorial Class Diagram" as the name for the new diagram, and click Create.
The Model Designer
Once you have added the Class diagram to the model, the Model Designer is opened.
The Model Designer has the following parts:
the Navigation Tree,
the Content Pane
the Toolbox (shown only when a diagram is opened),
the Toolbar (shown only when a diagram is opened).
Adding Classes to the diagram
To add a Class element to the diagram
Select the Class tool from the Toolbox
Click on the canvas. A new Class shape will be added to the diagram named "Class1"
Double-click the Class shape
A properties dialog will show up
Change the name to "User"
Set Display mode to Full
Add attributes
userID: int
name: string
email: string
Add operations
registerUser()
updateProfile()
placeOrder()
Repeat the steps and add a second Class
Set the name to "Order"
Set Display mode to Full
Add attributes
orderID: int
orderDate: date
totalAmount: float
Add operations
addItem()
removeItem()
calculateTotal()
Your diagram will look similar to this picture:
Adding an Association to the diagram
An Association is a relationship between two Classes.
To add an Association between User and Order classes created in the previous steps:
Select the Association tool from the toolbox
Click the User class
Move mouse over to Order class
Click the Order class. An Association will be created between User and Order
Double click the association line to open the properties dialog
In the properties dialog, go to User tab
Leave the default multiplicity "1"
Set property name to "user" and uncheck the eye icon to make the property name visible
Check the Navigable checkbox
Go to Order tab
Set multiplicity to "*"
Set property name to "orders" and uncheck the eye icon
Check the Navigable checkbox
Click OK.
Your diagram will look similar to this picture:
The steps for adding an Association can be used also for adding other types of links in Modeldraw.
Sharing the diagram
Sharing a diagram enables you to create a public URL link. Whoever has the public URL link can open the diagram in the browser in read-only mode.
To enable sharing:
Click the Share icon in the Toolbar, the Sharing dialog will show up.
In the Sharing dialog, turn on sharing with the toggle button.
Sharing is enabled immediately and the public link is displayed together with a Copy link button.
Congratulations
Congratulations! You've completed the Modeldraw Quickstart Guide. Keep exploring Modeldraw's features to unlock your full potential in visual modeling.
Last updated