# Importing BPMN2 Files

One of the major changes from version 1.1 to version 2.0 of the BPMN Specification is that it defines not only a model that describes the business logic, but also a model that defines the presentation of graphical elements that represent these logic elements. This presentation model, known as the Diagram Interchange or “DI” model, defines visual presentation details such as locations and sizes of shapes, connection bend points, labels, etc. While it is an important part of the BPMN 2.0 spec and is the standard model to be implemented by tool vendors, it is also simply a “recommendation” by the OMG; in other words this section is optional. As such, some tool vendors do not provide DI metadata, relying on auto layout algorithms and default presentation settings to render the business logic elements in their modeling tools.

BPMN2 Modeler has the ability to import files that do not contain DI metadata and will generate it using an auto layout algorithm. This algorithm is still in the experimental phase as of this version – it does a fair, but not optimal job of arranging the business logic elements. If, after importing such a BPMN file, any elements that appear “out of place” or not optimally placed can simply be dragged around on the canvas for more visually pleasing configurations. Once these changes have been saved, the DI metadata is added to the file and the new layout is restored next time the file is opened.

See also the Outline View for more information about the DI model.