NgDiagramNodeSelectedDirective
The NgDiagramNodeSelectedDirective
conditionally applies a selected class to a node in the diagram when it is selected.
Example usage
Section titled “Example usage”<div ngDiagramNodeSelected [node]="node()"> <!-- Node content here --></div>
When the node’s selected
property is true
, the ng-diagram-node-selected
CSS class is applied.
Properties
Section titled “Properties”node:
InputSignal
<Node
>
The node instance to monitor for selection state.