Thanx a lot! Just a small question: on your diagram with the round nodes, instead of Class name (e. g. Person) I see a number (as I understood, it is the value of the Tag “weight” = 1). How to do it?
For Class elements as Graph Nodes, we use Custom Draw. We can also use Shape Scripts, but that is another subject 😀 There is a couple approaches to applying "weight". I prefer to use Tagged Values because we will apply these weights automatically on query-runs, and do not manually enter them. Other approaches use "Constraints" being applied using OCL (object constrain language), either OCL directly or as Pre- or Post- Conditions. To be honest, we use Sparx for Design and our Graph Tooling for monitoring and producing Analytics for Machine Learning. But since we are already producing JSON output, sometimes we apply back to our Sparx Models for documenting. I hope that answered your question. If not, let me know. Happy Modeling 😎
Thanx a lot! Just a small question: on your diagram with the round nodes, instead of Class name (e. g. Person) I see a number (as I understood, it is the value of the Tag “weight” = 1). How to do it?
For Class elements as Graph Nodes, we use Custom Draw. We can also use Shape Scripts, but that is another subject 😀
There is a couple approaches to applying "weight". I prefer to use Tagged Values because we will apply these weights automatically on query-runs, and do not manually enter them. Other approaches use "Constraints" being applied using OCL (object constrain language), either OCL directly or as Pre- or Post- Conditions. To be honest, we use Sparx for Design and our Graph Tooling for monitoring and producing Analytics for Machine Learning. But since we are already producing JSON output, sometimes we apply back to our Sparx Models for documenting.
I hope that answered your question. If not, let me know. Happy Modeling 😎
I just published a video on how we transformed the shapes: "Turn Class Shape to Node Shape" ruclips.net/video/Au10ySPfGRU/видео.html