Stardust/Enhancing and Embedding Stardust/Browser Modeler/Javascript Metamodel
The metamodel of Javascript objects used to implement the Browser Modeler (Lightdust) is supposed to be a superset of the BPMN2 metamodel. As work on the Browser Model was initially started focussed on the metamodel, some names and structures are still driven by originally Stardust needs stemming from Stardust's use of XPDL - but we intend to change this soon.
Contents
Overview
The following schema provides an overview of the Lightdust metamodel using indention to describe aggregation, > to describe references and * to indicate to many aggregation or reference
- Model
- Application*
- StructuredDataDefinition*
- Data*
- Participant*
- Process*
- Activity*
- Diagram
- ActivitySymbol*
- > Activity
- Gateway Symbol*
- > Gateway
- ActivitySymbol*
Common Aspects
All model elements have an id and a uuid
Furthermore all model elements hold an attributes object which can be stored to store arbitrary properties
Model
Overview
The model is the root of all elements. Lightdust manages a set of models which can be obtained from the m_model module, via
m_model.getModels()
Details
Attribute | Type/Module | Content |
---|---|---|
uuid | String | UUID of the model |
name | String | Name of the model |
attributes | Object | Arbitrary extension elements |
applications | Application (m_application) | Applications, service etc. defined for the model |
processes | Process (m_process) | Processes defined for the model |
Process
Overview
Details
Attribute | Type/Module | Content |
---|---|---|
uuid | String | UUID of the model |
name | String | Name of the model |
attributes | Object | Arbitrary extension elements |
Activity
Overview
Details
Attribute | Type/Module | Content |
---|---|---|
uuid | String | UUID of the model |
name | String | Name of the model |
attributes | Object | Arbitrary extension elements |
Gateway
Overview
Details
Attribute | Type/Module | Content |
---|---|---|
uuid | String | UUID of the model |
name | String | Name of the model |
attributes | Object | Arbitrary extension elements |
Data Flow
Overview
Details
Attribute | Type/Module | Content |
---|---|---|
uuid | String | UUID of the model |
name | String | Name of the model |
attributes | Object | Arbitrary extension elements |