Package Diagrams
Package diagrams describe the relationships between packages in a model. You can use a package diagram to organize objects in a complex project.
To create a package diagram, click the Create New Model command in the homepage Quick Links card (see Creating a Model), enter a name, select Object-Oriented Model in the Type list and SysML Package Diagram in the Template list, and click Create.
|
Sub-Symbols View (Default) |
Tree View |
|---|---|
|
|
|
|
To create a child package, drag the Package tool from the toolbox and drop it inside the symbol of the parent package. Alternatively, choose the parent symbol and click the Add Child Package tool on it. |
To create a child package, drag the Package tool from the toolbox, drop it onto your diagram, and then put it inside the symbol of the parent package. Alternatively, choose the parent symbol and click the Add Child Package tool on it. |
|
To show all child packages of a parent package, select the parent symbol, choose . |
To show or hide all child package of a parent package, click the + or - symbol on the bottom of the package symbol. |
The following tools are available in package diagrams:
|
Tools |
Description |
|---|---|
|
|
Reuse Model Objects. Opens a list to allow you to drag existing model objects into the diagram. |
|
|
Package. See Packages. |
|
|
Note. Add notes to your diagram and link them to your symbols. |
|
|
Generalization - An object is a specialization of another object. |
|
|
Import and Merge. You can create the following types of dependency:
|
|
|
Link – Provides an alternative way to create a link. Select the tool and connect two objects with a default link, then choose Change Link Type to change to another link as appropriate. This tool is available in both the diagram toolbox and in the context menu of the relevant objects. |
|
|
Lasso. Select multiple symbols by dragging over them. |










