Astah User's Guide

Component Diagram


class-diagram


Create Diagram

  • Go to [Diagram] - [Component Diagram]
    Create a Component Diagram
  • Create from the pop-up menu in the Structure Tree


Show all model elements

To show all the related model elements on the diagram, click [Show All Hidden Relationship] on the pop-up menu that opens when you right-click on a diagram.
visibility



Component Diagram Tool Palatte

This is the tool palatte of Component Diagram, for all the common tools, check out here.

Component Diagram Tool Bar

ButtonItem
SelectSelect
ComponentComponent
PartPart
External PartExternal Part
ConnectorConnector
InterfaceInterface
Provided InterfaceProvided Interface
ButtonItem
Required InterfaceRequired Interface
DependencyDependency
RealizationRealization
UsageUse Dependency
ClassifierClassifier
ArtifactArtifact
NestNest


Hide Diagram Frame

Select the Component Diagram in the Structure Tree, then check off the [Frame Visibility] in the Propety view.
frame

TIPS: Hide diagram frame by default
You can hide diagram frame by default in the System Properties.


Component

Create

There are two ways to create a Component.

  1. Double-click on the Component Diagram.
  2. Select [Component] on the Tool palatte and click on the Diagram.

Show Part

You can switch the visibility of Parts from Component's Pop-up menu.



Show Port

You can switch the visibility of Ports from Component's Pop-up menu.





Part


Create

Select [Part] from the Tool Palatte and click on a diagram.



External Part


Create

  1. Select [External Part] from the Tool Palatte and click on a Component.
  2. Select a role (part) to associate with.
  3. Now an External Part is created.

Connector


Create

  1. Select [Connector] from the Tool palatte and click target modele elements.

Change direction of Association.

To change the direction, click [Reverse Direction] from Connector's pop-up menu. To change the direction, the connection needs to have its own name.



Port


Create

Select [Port] from the Tool palatte and click model elements.