In Visual Paradigm the models you created are in repository basis, where a single model element can appear on multiple diagrams, or even multiple occurrence in a single diagram. Each occurrence (we call the view) on diagram is a visual presentation of the model element. In some case you might want to change the underlying model element of a view to another model element without affecting the diagram. In this article we will show you how to change the underlying model element of a view using Open API. Read more
Tricks for plug-in development.
The generalization set defines a set of generalization relationship that describe how the superclass may be divided by a set of subclasses. The generalization defined in the set can group together in diagram for better presentation of the model. The generalization set can defined via the GUI on diagram or using Open API. In this article you will learn how to create generalization set using Open API in Visual Paradigm. Read more
In UML activity diagram the swimlane is a collection of partitions which allows user to group the actions with common characteristics together. The swimlane can have partitions in multi dimensions. In this article we will show you how to create swimlane in activity diagram using Visual Paradigm Open API.
Image map allow user to create hyperlink to specific part of an image in a HTML document. With Open API you can export your Visual Paradigm diagram into image file also generate HTML document with image map on it. This allow user click on the shape in diagram image and jump to the URL which you defined. In this article you will show you how to export diagram into image and generate image map for it. Read more
When inserting comment to diagram/model element via Open API the date & time look different to those created from GUI.
The Model Explorer is the place which showing entire model collection in your project as well as their structures. Visual Paradigm provide different ways for present the elements in Model Explore by using different sorting algorithms. But even the best sorting algorithms sometimes may not fit you need. In this case you may need to manually order the elements in the order you like. With Open API you can do this programmatically by creating a plugin. In this article we will show you how to change the order of child elements in the selected parent model element. Read more
When creating diagram sometimes you might want to have shapes showing different background color. To do this you can specify the background color of individual elements one by one. But instead of manually specify the background color shape by shape, you can also do this via Open API. In this article we will demonstrate how to control the background color setting of elements in your active diagram using Visual Paradigm Open API. Read more
CRUD (Create, Read, Update & Delete) are the four basic operations which being performed on data. When analyzing a system, relaying various activities and data together with a CRUD chart can help to understand the relationships between different activities, and how they being link together by the data. Visual Paradigm support creating CRUD chart for any model elements in the project. Besides manually create the CRUD chart you can also generate programmatically using Open API. In this article we will teach you how to generate CRUD chart using Open API. Read more
Visual Paradigm Open API provide Java programming interface for manipulate diagrams and models within the project. In this article we will show you how to hide out attribute from class shape in class diagram. Suppose we would like to hide out the name attribute from Customer class in current opening diagram: Read more
The project reference feature in Visual Paradigm allow users to reuse model elements from different projects. This not just saving effort in re-creating same model element again and again across projects, but also maintain the consistence of models as the changes on the model element automatically reflect on the projects which using it. In complex situation such as multiple levels of reference project sometimes it will be difficult to identify the origin of a particular model element, especially when the diagrams are develop by multiple users. By using Open API we can create plugin to find out the origin project of a model element. In this article we will show you how to create this plugin. Read more