Skip to content

NgDiagramGroupHighlightedDirective

The NgDiagramGroupHighlightedDirective conditionally applies a highlight class to a group node in the diagram when it is highlighted.

<div ngDiagramGroupHighlighted [node]="node">
<!-- Group node content here -->
</div>

When the group’s highlighted property is true, the ng-diagram-group-highlight CSS class is applied.

node: InputSignal<GroupNode<object>>

The group node instance to monitor for highlight state.