When creating diagrams sometimes you might want to have the shape showing different line styles, i.e. to have better presentation for your diagram with important elements easily spotted out. In this case you may adjust the line style to make the element looks different. To do this you can specify the line style of the individual element via the user interface. But instead of manually specify the line style shape by shape, you can also do this via the Open API. In this article we will use Class as sample to demonstrate how to control its line style with Visual Paradigm’s Open API. Read more