Diagram editor as shown in the attached picture
Hello forum!
I know it's possible to add a diagram editor to any language like it's shown in the two samples mindmaps and componentDependencies.
I've already played around with it, but I couldn't find a solution to my issue.
Now my question is whether MPS can depict such a diagram as shown in the attached picture
or not.
As you can see there are two groups or blocks, which need to be boxes in a diagram. Within these groups or blocks are subviews or subvariables, which have relationships to variables in another block. This relationships need to depicted with arrows or lines.. I've read the docs. However with ports I couldn't find a solution.
Any suggestions or help is appreciated!
Best regards
msch95
I know it's possible to add a diagram editor to any language like it's shown in the two samples mindmaps and componentDependencies.
I've already played around with it, but I couldn't find a solution to my issue.
Now my question is whether MPS can depict such a diagram as shown in the attached picture
or not.
As you can see there are two groups or blocks, which need to be boxes in a diagram. Within these groups or blocks are subviews or subvariables, which have relationships to variables in another block. This relationships need to depicted with arrows or lines.. I've read the docs. However with ports I couldn't find a solution.
Any suggestions or help is appreciated!
Best regards
msch95
Please sign in to leave a comment.
Unfortunately, this use case seems to be not covered by the currently existing diagraming support within the MPS. In MPS you can draw only "one-level" diagrams: nodes with either direct connections or having ports locate on the boundary with incoming/outgoing connections. Inner nodes are not supported by MPS diagramming functionality.
Do you know whether this feature is planned for the future or not?
Best regards
msch95
You may want to have a look at https://github.com/slisson/mps-diagram-editor/
I think this mps plugin is capable to do what you need.
You can find the binaries for the plugin here: https://github.com/slisson/mps-all/wiki (login as guest)
Examples can be found in the repository itself or you checkout mbeddr (www.mbeddr.com / http://github.com/mbeddr/) where we have diagrams for (hierarchical) state machines as well as (hierarchical) component diagrams
HTH
Bernd
Do you know some proper manual for the mbeddr plugin to work, because the installation of the tools, which are needed for the installation of mbeddr, are a little bit annoying?