-
Notifications
You must be signed in to change notification settings - Fork 14
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
Model data has to be passed at multiple places for proper rendering of Family Tree #1
Comments
https://gojs.net/latest/intro/angular.html By the way, I was unable to run your stackblitz sample, even using two different browsers. |
@WalterNorthwoods may be I'm doing it wrong. I tried again and I'm attaching the screenshot of each scenario.
You can see in all the screenshots the diagram is not as expected and in the with |
|
Re: 2) I just released gojs-angular 1.0.1, which makes the "modelData" @input property for Diagram / Palette Components truly optional. You can now install it via npm or download it from the repo here Re: 3) Yes, your Diagram will still render if you do not provide a nodeDataArray property (or linkDataArray property), but of course, it has no Nodes to render, so it appears blank. |
I'm using
gojs-angular
in my Angular 8 application.I followed the instructions from the Family Tree example: https://gojs.net/latest/samples/familyTree.html
But to render the family tree using
gojs-angular
, I have to pass the family data at three different places.nodeDataArray
input of the componentmodelData
input of the componentgo
diagram model property.Recreate Issue
I created an example stackblitz: https://stackblitz.com/edit/angular-gojs-family-tree
Remove any of the above property and the graph rendering will fail.
Environment
Angular: 8
gojs-angular: 1.0.0
gojs: 2.1.5
The text was updated successfully, but these errors were encountered: