Skip to content

Module Widget

ton1ght edited this page Oct 13, 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

Available Actions

The actions are accessible through the toolbar or the context menu by right clicking a module in the tree. The available actions are Search Module (1), Isolate in View (2), Add Graph Selection to Module (3), Add Child Module (4), Change Module Name (5), Change Module Type (6), Change Module Color (7) and Delete Module (8).

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