-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get custom shapes to work with Angular 15+ #429
Comments
@mossy426 Thanks for pointing this out, I was able to figure out the problem. Will fix it soon |
@mossy426 Could you try version |
rokotyan
added a commit
to rokotyan/unovis
that referenced
this issue
Aug 22, 2024
…ontainer f5#429 - `svgDefs` allows passing custom SVG defs to be available to all components within the container - `sizing` defines whether components should fit into the container or the container should expand to fit the component's size
reb-dev
pushed a commit
that referenced
this issue
Aug 23, 2024
…ontainer #429 - `svgDefs` allows passing custom SVG defs to be available to all components within the container - `sizing` defines whether components should fit into the container or the container should expand to fit the component's size
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackblitz.com/edit/angular-pxlb2c?file=src%2Fforce-graph%2Fforce-graph.component.html
I'm trying to use the built-in default shapes and custom shapes. However it shows that svgDefs is not defined for the container (at least in angular 17. When using angular 15 I get no errors, but nothing appears when I try to use a custom shape. For instance I'll return "circle" or "square" for some nodes, but then use the custom defined svg like diamond. Here's what I'm doing in my code:
I've also provided a stackblitz to try to get it working, but could not.
The text was updated successfully, but these errors were encountered: