The simplest way of loading data into an
IlvDiagrammer instance is to load an XML file containing the descriptions
of the objects to add to the model.
If you have available an XML file in diagram format,
you can load it directly in the Designer without needing to write
any Java™
code.
The data model implementation is class
IlvDefaultSDMModel with user-defined types (tags) read from the XML
file.
To load an XML file and display its contents in Java
code, use:
diagrammer.getEngine().setXMLFile("file:example.xml");