Tricks for plug-in development.

Changing connector styles using Open API

Visual Paradigm support diagramming with various connector styles. In this article we will show you how to change the style of a connector using Open API. We will use class diagram and association as example to demonstrate how to change the connector style. Read more

Layout diagram using Open API

Visual Paradigm bundled with auto-layout engine which help user to perform auto layout to their diagrams. The auto-layout can triggered via user interface as well as via Open API. In this article we will teach you how to layout your diagram via Open API. Read more

Changing Background Color of Class Attributes using Open API

In class diagram the background color can apply to the entire class, or apply to individual class member. In this article we will demonstrate how to control the background color setting of class attributes in your activate diagram using Visual Paradigm Open API. Read more

Create SysML Internal Block Diagram using Open API

The SysML internal block diagram use to model the decomposition of a block or its internal structure. In internal block diagram a block can be decompose into parts or subsystems. This article will show you how to create internal block diagram using Open API.

This is the internal block diagram we are going to create. Read more

Replace Model Element with Open API

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

Create Generalization Set using Open API

tomcat-thumbThe 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

Create Swimlane in Activity Diagram using Open API

tomcat-thumbIn 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.

 

Read more

Generate Image Map for your diagram using 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

Understanding date time format of comment

When inserting comment to diagram/model element via Open API the date & time look different to those created from GUI.

Comment generated by Open API showing different date time format

Read more

Changing Order of Child Elements using Open API

tomcat-thumbThe 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