-
Notifications
You must be signed in to change notification settings - Fork 82
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
Integrate ELK in a simple Sprotty diagram. #448
Labels
question
Further information is requested
Comments
It looks like you have an edge where the sourceId or targetId does not exist in the graph. I'm wondering whether we should validate this when we transform the SGraph into an ELK graph: sprotty/packages/sprotty-elk/src/elk-layout.ts Lines 169 to 174 in 55f6b05
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to figure out how to integrate ELK in a simple Sprotty diagram.
I'm using yo to generate a sprotty project and then I'm "retrofitting" elk by looking at the random-graph example: https://github.com/eclipse-sprotty/sprotty/blob/master/examples/random-graph/src/di.config.ts
My changes are hightlighted:
However I'm getting this error:
Shape here I suppose is the same as view?
What am I missing?
The text was updated successfully, but these errors were encountered: