Organize Project Data with Model

Very often when a project was started for some time, a lot of model elements are created, and most of them are placed at root. This not only makes the searching of model elements become difficult, but it also slow down the application because Visual Paradigm tries to load all root level model elements on start up.

To solve the problem, it is recommended to keep the root clean by organizing project data with models or packages, while model is more preferred. When you right click on the project root in Model Structure tree in Project Browser, you can see the menu Model, which lets you create a model. Read more

How to Share Stereotypes Definitions?

Share stereotypes thumbnailStereotype is an extension mechanism you can use to define new model elements. In Visual Paradigm you can apply stereotype on both UML and BPMN elements.

With the import/export stereotypes utility, you can easily share stereotypes’ definition with colleagues without having to re-configure them again from scratch. If conflicts are detected when importing stereotypes, you can select to resolve them to ensure important configurations are not accidentally overwritten by other team members.

Read more

How to Display a Parameter in Class without Showing its Name?

How to Display a Parameter in Class without Showing its Name?Programming languages like C or C++ accepts nameless arguments in function declaration. You may write something like void myFunction(double){…} to declare a function that accepts a double as argument. In modeling level, you can represent this kind of function by not showing the parameter name in an operation. This article shows you how to do this.

Read more

Why Aren’t There Any Operations to Choose from in Reverse Engineering of Sequence Diagram?

What you need to do to reverse engineer UML sequence diagram from Java code is to select the source folder first, and then pick-up an operation from the identified classes. Visual Paradigm will form a sequence diagram by analyzing the operation you selected. A frequently asked question about this process is “Why aren’t there any operations?” We are going to answer you why in this article.

Read more

How to Draw a Class Diagram with Separate Distinct Classes with Same Name?

00-class-diagram-class-name-thumbUsers are not allowed to give same name to two different UML classes when the classes are put under the same parent. It is like you cannot have two physical files with same name in same directory, or having two Java classes with same name under same package.

If you really need to draw two different classes in a class diagram but with same name, please check if you are really doing something legit. This article is written to give you some helps.

Read more

How to Draw a Directed Association

Directed associationIn UML (Unified Modeling Language), an association can be used to represent that two classifiers which are related with each other. On any binary association, you may optionally put a solid triangular arrowhead near the name of the association to define the way the association should be read. In this article, we will see how to show the triangular arrowhead on an association in Visual Paradigm.

Read more

How to Hide out the Name of Association in Class Diagram

Association is one of the key elements for constructing class model. It is not just a line relating 2 classes but also carrying lots of information describing their relationship. Giving a meaningful name to the association would help to make it easier to understand. Visual Paradigm allows you to show and hide the name of the association in a flexible way. Read more

10 Tips to Create Professional Use Case Diagram

There are two common misunderstanding about use case modeling or UML use case diagram. One is that, use case diagram is too simple, as it does not explain anything important and it is not worth drawing. Another misunderstanding is just opposite to the first one. Some people believe that use case diagram is so powerful that can represent many different aspects of a software, from describing system requirements to modeling the internal behaviors of the system. So what is use case? What is use case diagram and is use case modeling simple or powerful?

Use case modeling is simply an answer to “What do the users (customers) want”. It allows you to visually represent the goals that users want to achieve through using the final end product, which can be a system, a software, a program, etc. Use case modeling is a useful technique in establishing a solid foundation for software developers to develop software system that meets with customers’ needs. While the notations applied in a use case diagram seem simple and do not express much detailed, the way how use cases are collected, organized and elaborated do significantly influence the direction of the software development lifecycle and thus the quality of the final software product. In this article, we will go through ten tips that can maximize the effect of drawing use case diagram. We are not going to explain what are use cases in detail but some of the key concepts regarding to UML modeling, use case diagram and requirements capturing will be covered.

Read more

How to Model Gates in UML Sequence Diagrams

To pass a message between two sequence diagrams in UML modeling, we can make use of gates. Through modeling gates, we could relate the message outside an interaction fragment with message inside another interaction fragment.

Graphically a gate, with an arrowed line, connects to the sequence diagram’s frame edge with one end and the other end connected to a lifeline.

In this tutorial we will show you how to model gates in sequence diagrams using Visual Paradigm for UML (VP-UML).

Read more

How to Model Permissions on Use Case for Actors

In use case diagram, associations between actors and use cases are explicitly shown. We can see it clearly when an actor carries out a use case (or goal) from a line drawn between them. However, what if an actor does not carry out a use case but do refer to the output from it? How do we model that?

Read more