I am developing a software component that will receive instructions from other components about how the UML diagram should look, and then create this UML diagram in different ways of presentation (for example, in SVG, GIF, etc.) (for example, Java):
DiagramDesigner designer = new DiagramDesigner(); designer.setStyle('Use Cases') designer.addActor('User'); designer.addUseCase('Print Document');
I do not want to reinvent the wheel and want to use some kind of standard language / interface for the connection between my DiagramDesigner and other components. I am looking for an interface similar to the DOM, but for UML, not XML.
Can anyone help? Thanks in advance.
ps. Besides the above example, I would like to make my diagrams interdependent and portable between servers, for example:
// first server String script = designer.getScript(); // second server DiagramDesigner desiger2 = DiagramDesigner.import(script);
source share