We are facing problem with height of grid lines of angular
diagram.
We applied class ejs diagram to the syncfusion angular
diagram component.
<ejs-diagram
#diagram
id="diagram"
width="100%"
class="ejs-diagram"
[getNodeDefaults]='nodeDefaults'
[layout]='layout'
[scrollSettings]="scrollSettings"
[snapSettings]='snapSettings'
(click)="clicked($event)"
(collectionChange)="collectionChange($event)"
(drop)="drop($event)"
[nodes]="nodes"
(keydown)="onKeydown($event)"
canAutoScroll="false"
(created)="created($event)">
</ejs-diagram>
In this class we set height ,as we had that requirement
.ejs-diagram {
height: calc(100vh - 257px) !important;
#diagramcontent {
height: calc(100vh - 257px) !important;
}
}
This gives the result as below:
The given height
appears to apply for the grid lines also ,thus grid lines are visible in above
section only

Grid lines are not visible for the below section

Expected Result : The grid lines should be seen in
complete diagram evenly