IBM Support

Create free shapes on diagrams using Rhapsody API

Question & Answer


Question

Can you create free shapes, such as polyline and ploygon, on diagrams using IBM Rational Rhapsody java API?

Cause

According to javadoc of Rhapsody API, the following parameters for free shapes have been described in addNewNodeByType method in IRPDiagram; however, these parameters did not work.

Free shapes: "Polyline", "Ploygon", "Rectangle", "Polycurve", "Closed Curve","Ellipse","Image".

Answer

Unfortunately parameters for free shapes describing in javadoc have not been implemented yet, but these parameters will be available in future release.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Rational Rhapsody Developer","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.2;7.3;7.4;7.4.0.1;7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.5.3.3;7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;7.6.1.3;8.0;8.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21638166