Share via


How to: Add a Swimlane Map (DSL Explorer)

In DSL Explorer, you can map shapes to domain classes and domain relationships from the Diagram node. The following procedure demonstrates mapping a swimlane shape element, which is located under the Diagram Elements swimlane, and a domain class, which is located under the Classes and Relationships swimlane.

Note

You can also perform mapping by using the Diagram Element Map item in the Toolbox for the Domain-Specific Language Designer. For more information, see How to: Map Elements By Using the Diagram Element Map Tool.

To add a swimlane shape map from DSL Explorer

  1. In DSL Explorer, right-click the Diagram node, and click Add New SwimLaneMap.

    The Pick ShapeMap class and shape dialog box appears.

  2. In the DomainClass list, click the domain class that you want to map.

  3. In the Shape list, click the swimlane shape you want to map.

    The mapping appears under the Shape Maps node, which is under the Diagram node in DSL Explorer. The mapping is also reflected in the diagram as a mapping line between the domain class and the swimlane shape that you specified.

  4. Click the new map, and set its details in the DSL Details window. For more information, see Defining Element Mapping Details.

    Note

    If the DSL Details window is not visible, click DSL Details on the DSL Designer toolbar.

See Also

Concepts

Swimlane (Domain-Specific Language Designer)

Domain Class and Named Domain Class (Domain-Specific Language Designer)

Domain-Specific Language Tools Glossary