I'd like to build support for an advanced UML composite state that supports entering the state when double clicked. A basic example of the functionality I would like is shown below:
Double clicking on a collapsed composite state would jump to viewing the contents. This is super useful when dealing with large diagrams with hundreds of states in them.
The demo above isn't entirely ideal - the composite state would ideally be shown too when entered to show its internal event handlers do / common_stuff( );. But it's good enough for now.
I've built a pretty decent UML state machine code generator that my workplace is looking to open source, but we need a better UI as we currently just analyze yEd XML files which has a bunch of problems. I'm hoping to use mxgraph to create our GUI and thought that this advanced composite state would be useful to the project in general.
Hello!
very impressed with mxgraph & draw.io.
I'd like to build support for an advanced UML composite state that supports entering the state when double clicked. A basic example of the functionality I would like is shown below:
Double clicking on a collapsed composite state would jump to viewing the contents. This is super useful when dealing with large diagrams with hundreds of states in them.
The demo above isn't entirely ideal - the composite state would ideally be shown too when entered to show its internal event handlers
do / common_stuff( );
. But it's good enough for now.I've built a pretty decent UML state machine code generator that my workplace is looking to open source, but we need a better UI as we currently just analyze yEd XML files which has a bunch of problems. I'm hoping to use mxgraph to create our GUI and thought that this advanced composite state would be useful to the project in general.