Comments (7)
For Blazor Server App it doesn't work either
from blazor.diagrams.
It looks like you don't have a field called Diagram
in the component:
@code {
private Diagram Diagram;
}
from blazor.diagrams.
Thanks a lot for the prompt response. However it is still not working, I see the blank page.
Maybe the warnings affect it. This is my build output:
1>------ Rebuild All started: Project: BlazorApp15Diagrams, Configuration: Debug Any CPU ------
1>CSC : warning CS8032: An instance of analyzer Excubo.Generators.Blazor.SetParametersAsyncGenerator cannot be created from C:\Users\eukla.nuget\packages\excubo.generators.blazor\1.11.2\analyzers\dotnet\cs\Excubo.Generators.Blazor.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
1>CSC : warning CS8032: An instance of analyzer Excubo.Generators.Blazor.RequiredParameterAnalyzer cannot be created from C:\Users\eukla.nuget\packages\excubo.generators.blazor\1.11.2\analyzers\dotnet\cs\Excubo.Generators.Blazor.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
1>CSC : warning CS8032: An instance of analyzer Excubo.Generators.Blazor.KeyAnalyzer cannot be created from C:\Users\eukla.nuget\packages\excubo.generators.blazor\1.11.2\analyzers\dotnet\cs\Excubo.Generators.Blazor.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
1>CSC : warning CS8032: An instance of analyzer Excubo.Generators.Blazor.EventParameterGenerator cannot be created from C:\Users\eukla.nuget\packages\excubo.generators.blazor\1.11.2\analyzers\dotnet\cs\Excubo.Generators.Blazor.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
1>CSC : warning CS8032: An instance of analyzer Excubo.Generators.Grouping.GroupingGenerator cannot be created from C:\Users\eukla.nuget\packages\excubo.generators.grouping\1.4.1\analyzers\dotnet\cs\ApiGroupGenerator.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
1>BlazorApp15Diagrams -> C:\repos\BlazorApp15Diagrams\BlazorApp15Diagrams\bin\Debug\netstandard2.1\BlazorApp15Diagrams.dll
1>BlazorApp15Diagrams (Blazor output) -> C:\repos\BlazorApp15Diagrams\BlazorApp15Diagrams\bin\Debug\netstandard2.1\wwwroot
1>Done building project "BlazorApp15Diagrams.csproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
from blazor.diagrams.
I'm guessing that you're running into this issue, which is an issue with CSS, not with this library: #63
from blazor.diagrams.
any suggestions, what I can try to render the diagrams in my project?
from blazor.diagrams.
It is unclear to me what you want me to suggest here. Did you make sure that the diagram has a height greater than zero, as in #63?
from blazor.diagrams.
Uh I see now, if I add style="height:800px" to MainLayout.razor I can see the diagram. Thanks a lot 👍
May I suggest you update readme.md file and include
@code {
private Diagram Diagram;
}
and this MainLayout.razor changes that required to start?
Thank you.
from blazor.diagrams.
Related Issues (20)
- Creating custom link HOT 6
- Diagram Does Not Display HOT 3
- Property Hidden HOT 2
- Questions HOT 2
- Disabling Custom Links HOT 3
- NodeLibrary with Code generated Nodes HOT 7
- additional arrow styles? HOT 2
- Is it possible to disable the function that lets you click on an object and link it to another? HOT 5
- Diagram LinkModified LinkBase param doesnt provide correct positions on source and node HOT 5
- Capture Drag Event of Node causes render to fail HOT 5
- Is there a way to make lines not lap over nodes during auto layout HOT 2
- Auto Layout after render HOT 1
- Panning on mobile HOT 2
- Allow custom middle point and link direction of AngleLink component HOT 6
- Callback after graph is rendered? HOT 8
- Adding container element/nesting of nodes HOT 1
- AutoLayout HOT 6
- Auto-Center after ZoomToFit HOT 7
- Improve documentation about how to change size of nodes.
- Add the ability to prevent remove node or link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor.diagrams.