Share via


How to: Add a Diagram (DSL Explorer)

In a domain-specific language definition, the diagram element contains properties that affect how the diagram for the generated designer appears. For example, you can specify the default color for text. You modify the properties of the diagram element in the Properties window. For more information, see Diagram (Domain-Specific Language Designer).

A domain-specific language definition can contain only one diagram element. However, you can delete a diagram element so that you can then add one as described in the following procedure.

To add a diagram element by using DSL Explorer

See Also

Concepts

Defining the Domain-Specific Language in Domain-Specific Language Explorer

Domain-Specific Language Tools Glossary