Skip to content

Module Widget

ton1ght edited this page Oct 18, 2021 · 18 revisions

The Module Widget illustrates the netlist's module hierarchy as a tree. The widget features helpful actions including, but not limited to, adding a child module or changing the module's displayed color.

Module Widget

Toolbar

The toolbar provides the action Search Module (1).

Module Widget Toolbar

Context Menu

The context menu provides the actions Isolate in View (1), Add Graph Selection to Module (2), Add Child Module (3), Change Module Name (4), Change Module Type (5), Change Module Color (6) and Delete Module (7).

Module Widget Context Menu

Search Module

To find a specific module, a filter can be applied to the tree. Pressing the shortcut CTRL + F while the widget is focused or left-clicking the magnifying glass in the toolbar of the widget toggles the search bar. As a result, only modules matching the text in the search bar and the parent modules are shown in the tree. The filter is only active when the searchbar is visible. The magnifying glass in the toolbar changes to a green color to indicate that the filter is active.

Isolate in View

Opens a new view containing only the selected module in the Graph View. The new view is also added to the list of the Views Widget.

Add Graph Selection to Module

Adds the current selection to the module selected in the tree.

Add Child Module

Adds a new module to the selected module as a child.

Change Module Name

Opens an input dialog and changes the name of the module to the given input.

Change Module Type

Opens an input dialog and changes the type of the module to the given input.

Change Module Color

Opens a color dialog and changes the displayed color of the module to the chosen color.

Delete Module

Deletes the selected module. All elements which were assigned to the deleted module are assigned to the parent module of the delete module.

Clone this wiki locally