NgDiagramBackgroundComponent
The NgDiagramBackgroundComponent is responsible for rendering the background of the diagram.
Example usage
Section titled “Example usage”<ng-diagram ... > <!-- Built-in backgrounds --> <ng-diagram-background type="grid" /> <ng-diagram-background type="dots" /> <ng-diagram-background /> <!-- Defaults to dots -->
<!-- Custom background via content projection --> <ng-diagram-background> <!-- Optional: custom SVG, HTML or IMAGE for background --> </ng-diagram-background></ng-diagram>Implements
Section titled “Implements”AfterContentInit
Properties
Section titled “Properties”type:
InputSignal<"grid"|"dots">
The type of background pattern to display.
Default
Section titled “Default”'dots'