Robert de Veen

I have created a DSL and started with a MinimalLanguage. I have Blocks and in the Block there are Nodes. The Nodes are connected with a relation visualized with a line. The block is visualized as a Swimlane and the Nodes are normal GeometryShape Rectangles.
The problem is the Swimlane. When i resize the Swimlane, the content of that Swimlane (the Nodes) doesn't follow the Swimlane and just stays on there original place. Nodes are changing from Swimlane when the Swimlane has resized.

The other example DSL started from a Task Flow template does it right.
How can i change the Swimlane so the content sticked to the Swimlane



Re: Visual Studio Extensibility Swimlane in MinimalLanguage DSL

Edward Bakker

Robert,

I think your mapping isn't correct. The parent element map should reflect the path to the element that is actually mapped to the swimlane. Does this makes sense Sorry, I still have problems explaining the these "mappings paths".

Maybe you can have a look at DSL that you base on the Task Flow template. Have a look at the mappings for the TaskShape. You will see that the Parent Element Map is identifying the Actor element that is mapped to the Swimlane.

Hope this helps.

Edward





Re: Visual Studio Extensibility Swimlane in MinimalLanguage DSL

Robert de Veen

Thanks for your relply. The problem was in the parent element path. Because of the inheritance the path that was generate by the DSL-Tools was not correct. I hope in the next release of the DSL-Tools this mapping and path stuff has been improved. It should be easier to use and understand.