Layout of Included Components

If you add a component to your component (see Including a Component as a Complex Element) and place it in the drawing area, the default layout of the added component, defined in the layout editor, is displayed. If this default layout does not suit your purposes, you can react in two different ways.

One possibility is to adapt the default layout in the layout editor. Changes in the layout editor do not, however, have any influence on individual graphical occurrences of the component in block diagrams. Existing diagrams remain unchanged, you have to replace the occurrences manually to load the changed layout.

The other possibility is to adapt the layout of a specific graphical occurrence in the block diagram. You can enable or disable flexible layout for each included component individually, either in the component manager (see Activating/Deactivating Flexible Layout) or via the Activate flexible layout menu option in the layout editor.

Only the layout of the edited graphical occurrence is modified, neither the default layout nor the layout of other graphical occurrences of the same component in the diagram is changed automatically. This means that, if necessary, you can assign each graphical occurrence of the same component a different layout.

You can change the size of a block and move, show, or hide the ports. The following must, however, be taken into consideration:

  1. A graphical occurrence must at least be the size of an addition operator with two inputs.
  2. The minimum size of a graphical occurrence is also limited by the number of visible ports: two ports cannot have the same position.
  3. If the default layout contains an icon, it is cut off if the size of the graphical occurrence is smaller than the icon itself.

If you copy or cut out a graphical occurrence which has been edited in this way and insert it at a different location as described in Copying/Moving Items in the Same Diagram (BDE) and Copying/Moving Items Between Diagrams (BDE), the inserted graphical occurrence is assigned the layout of the copied/cut out graphical occurrence.

If you editan included component, add or remove existing pins (e.g., by removing an arguments or return value), and then return to the parent component, the missing pins are treated according to the Show Missing Pins and Connections option in the ASCET options window, Block Diagram node.

See also

Components as Complex Elements

Including a Component as a Complex Element

Activating/Deactivating Flexible Layout

Layout Editor

Copying/Moving Items in the Same Diagram (BDE)

Copying/Moving Items Between Diagrams (BDE)

Editing an Included Component

Block Diagram Options

Editing the Size of an Occurrence

Editing Ports

Show/Hide Ports of an Included Component

Using Changes as a New Default Layout

Restoring the Default Layout