Customizing the metamodel > Diagrams: Creating and modifying > Assigning symbols to diagrams
  
Assigning symbols to diagrams
You can assign new symbol types or existing symbol types (symbols that exist in another diagram) to new or existing diagram types. Add symbol types to diagram types by using the following syntax.
Syntax
Clauses in brackets [ ] are optional.
SYMBOL symbol-type-name [IN diagram-type-name1] ASSIGN [TO] diagram-type-name2
This command does not affect the assignment of the symbol in the diagram it was already resident in; it remains available in that diagram type.
In addition, you can assign a symbol to a diagram in its declaration:
SYMBOL symbol-type-name
{
...
ASSIGN [TO] diagram-type-name
...
}
Toolbox and draw menu
When a symbol type is assigned to a diagram type, an appropriate entry appears in the toolbox and Draw menu of the diagram type, just like any other symbol type resident in the diagram type.
Limitations on assigning a symbol type to a diagram type
No assignment can be made to any of the following diagram types:
DB2 Physical
Entity Relation
Logical Data Model
Logical View
Physical Data Model
None of the following symbols can be assigned because of special code in System Architect:
“Associative Entity” in diagram “Entity Relation”
“Entity” in diagram “Entity Relation”
“Identifying Relation” in diagram “Entity Relation”
“Inconsistent Relation” in diagram “Entity Relation”
“Non identifying Relation” in diagram “Entity Relation”
“Non-specific Relation” in diagram “Entity Relation”
“Super-sub Relation” in diagram “Entity Relation”
“Weak Entity” in diagram “Entity Relation”
“Association” in diagram “OMT Object Model”
“Class” in diagram “OMT Object Model”
“Identifying Constraint” in diagram “Physical Data Model”
“Non identifying Constraint” in diagram “Physical Data Model”
“Table” in diagram “Physical Data Model”
“Class” in diagram “UML Class”
“Interface” in diagram “UML Class”
“Actor” in diagram “UML Use Case”
“Boundary” in diagram “UML Use Case”
“Case Worker” in diagram “UML Use Case”
“Control” in diagram “UML Use Case”
“Entity” in diagram “UML Use Case”
“Worker” in diagram “UML Use Case”
None of the following symbols can be assigned to another diagram because their definitions are keyed by Model:
“Access Path” in diagram “Entity Relation”
“Relation” in diagram “Entity Relation”
“Relation Diamond” in diagram “Entity Relation”
Notes
Some symbols both have special code and also are keyed by Model; they are shown only in the first list of symbols.
Many symbols can normally be in more than one diagram type. Only one diagram type is shown for any symbol in the above lists.
See also
Diagrams: Creating and modifying