This functionality is only available for certain module packages.

You are here: EEC > BASE > PX update > Writing method updateProjectExchangeModel > addGraph2D

addGraph2D

Adds a Graph2D diagram to the project.

An exception is thrown under the following circumstances:

addGraph2D(String parentAbsPath, String documentDefinitionClassAbsName, String documentName, String documentStoreAsString)
Argument String parentAbsPath Absolute path to the superordinate project component.
String documentDefinitionClassAbsPath Absolute path to the class of the document definition.
String documentName The name of the diagram.
String documentStoreAsString The content of the diagram.
Return value void