Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
919 stars 176 forks source link

Not showing #300

Closed RRFiver closed 1 year ago

RRFiver commented 1 year ago

Hi Guys

I know this is probably a simple thing but if I spin up a complete new solution and go through the quick setup I do not see the diagram. When I inspect the page I see the nodes has been rendered inside the HTML page however they are not visible. What am I missing? Screenshot 2023-02-10 at 13 19 13

RRFiver commented 1 year ago

Just to add a bit more context, here is the component... Screenshot 2023-02-10 at 13 21 26

And Then Code Behind

Screenshot 2023-02-10 at 13 22 06

RRFiver commented 1 year ago

This was a CSS Issues had to add this to my page <style> .diagram-canvas { width: 100%; height: 100%; position: absolute; outline: none; overflow: hidden; cursor: -webkit-grab; cursor: grab; touch-action: none; } </style>