Replies: 1 comment
-
Hello, It sounds like a very weird issue. Did you make sure you're not calling RegisterModelComponent anywhere else? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello :)
I'm currently trying to implement a custom Node based on the Documentation and the code of the example Project (DatabaseDesigner).
This is the created model
And this is the corresponding Component:
When I now try to register them both with the following code inside of the OnInitialized method (CommandActivity is the Model and CommandActivityNode is the Component):
Diagram.RegisterModelComponent< CommandActivity, CommandActivityNode>();
I get this error:
Error: System.Exception: Component already registered for model 'CommandActivity'.
In my knowledge I didn't register the model before. Did anyone else had this issue or has an idea how I can fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions