---
title: "B.3 Diagram Common"
chapter: "Annex B — Diagram Interchange"
source: "OMG BPMN 2.0.2 — formal/2013-12-09"
pages: "483-486"
---

> Annex B — Diagram Interchange · páginas 483-486 · [índice](../README.md)


<a id="sec-B-3"></a>
## B.3 Diagram Common


The Diagram Common (DC) package contains abstractions shared by the Diagram Interchange and the Diagram Graphics packages.


<a id="sec-B-3-1"></a>
### B.3.1 Overview


The Diagram Common (DC) package contains a number of common primitive types as well as structured data types that are used in the definition of the Diagram Interchange (DG) package (see “Diagram Interchange” on page 487). The DC package itself does not depend on other packages. Some of the types defined in this package are defined based on similar ones in other related specifications including Cascading Style Sheets (CSS), Scalable Vector Graphics (SVG), and Office Document Format (ODF).


<a id="sec-B-3-2"></a>
### B.3.2 Abstract Syntax


**Figure B.2 – The Primitive Types**


**Figure B.3 – Diagram Definition Architecture**


**Figure B.4 – Diagram Definition Architecture**


<a id="sec-B-3-3"></a>
### B.3.3 Classifier Descriptions


<a id="sec-B-3-3-1"></a>
#### B.3.3.1 Boolean [PrimitiveType]


Boolean is a primitive data type having one of two values: true or false, intended to represent the truth value of logical expressions.


<a id="sec-description"></a>
#### Description


Boolean is used as a type for typed elements that represent logical expressions. There are only two possible values for Boolean:


  - true - The Boolean expression is satisfied.

  - false - The Boolean expression is not satisfied.


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.2 The primitive types


<a id="sec-B-3-3-2"></a>
#### B.3.3.2 Bounds [PrimitiveType]


Bounds specifies an area in some (x, y) coordinate system that is enclosed by a bounded element’s top-left point, its width, and its height.


<a id="sec-description"></a>
#### Description


Bounds is used to specify the area of an element in some (x, y) coordinate system. The area is specified with a top-left point, representing the element's location (distance from the origin in logical units of length), in addition to the element’s width and height (in logical units of length).


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.3 (Layout Types)


<a id="sec-attributes"></a>
#### Attributes


  - + x : Real [1] = 0

  - + y : Real[1] = 0

  - + width : Real [1]

  - + height : Real [1]


<a id="sec-B-3-3-3"></a>
#### B.3.3.3 Font [PrimitiveType]


Font specifies the characteristics of a given font through a set of font properties.


<a id="sec-description"></a>
#### Description


Font specifies a set of properties for a given font that is used when rendering text on a diagram


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.4 The font type


<a id="sec-attributes"></a>
#### Attributes


  - + name : String[0..1]

  - + size : Real [0..1]

  - + isBold : Boolean [0..1]

  - + isItalic : Boolean [0..1]

  - + isUnderline : Boolean [0..1]

  - + isStrikeThrough : Boolean [0..1]


<a id="sec-B-3-3-4"></a>
#### B.3.3.4 Integer [PrimitiveType]


Integer is a primitive data type used to represent the mathematical concept of integer.


<a id="sec-description"></a>
#### Description


Integer is used as a type for typed elements whose values are in the infinite set of integer numbers.


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.2 The primitive types


<a id="sec-B-3-3-5"></a>
#### B.3.3.5 Point [DataType]


A Point specifies an location in some (x, y) coordinate system.


<a id="sec-description"></a>
#### Description


Point is used to specify a location in logical unit of length from the origin of some (x, y) coordinate system. The point (0, 0) is considered to be at the origin of that coordinate system.


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.3 The layout types


<a id="sec-attributes"></a>
#### Attributes


  - + x : Real [1] = 0

  - + y : Real [1] = 0


<a id="sec-B-3-3-6"></a>
#### B.3.3.6 Real [PrimitiveType]


Real is a primitive data type used to represent the mathematical concept of real.


<a id="sec-description"></a>
#### Description


Real is used as a type for typed elements whose values are in the infinite set of real numbers. Note that integer values are also considered real values and as such can be assigned to real-typed elements.


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.2 The primitive types


<a id="sec-B-3-3-7"></a>
#### B.3.3.7 String [PrimitiveType]


String is a primitive data type used to represent a sequence of characters in some suitable character set. Character sets may include both ASCII and Unicode characters.


<a id="sec-description"></a>
#### Description


String is used as a type for typed elements in the metamodel that have text values. The allowed values for String depend on the semantics of the text in each context. A string value is a sequence of characters surrounded by double quotes (").


<a id="sec-abstract-syntax"></a>
#### Abstract Syntax


  - Figure B.2 The primitive types

