Skip to content

Commit 97e853e

Browse files
Merge pull request #4478 from gewarren/2824
Remove empty article "nesting shapes"
2 parents be44eb0 + 5ca798f commit 97e853e

File tree

5 files changed

+23
-30
lines changed

5 files changed

+23
-30
lines changed

.openpublishing.redirection.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,11 @@
20402040
"redirect_url": "/visualstudio/modeling/create-uml-modeling-projects-and-diagrams",
20412041
"redirect_document_id": false
20422042
},
2043+
{
2044+
"source_path": "docs/modeling/nesting-shapes.md",
2045+
"redirect_url": "/visualstudio/modeling/customizing-presentation-on-the-diagram",
2046+
"redirect_document_id": false
2047+
},
20432048
{
20442049
"source_path": "docs/modeling/open-a-uml-model-by-using-the-visual-studio-api.md",
20452050
"redirect_url": "/visualstudio/modeling/create-uml-modeling-projects-and-diagrams",
@@ -2205,10 +2210,10 @@
22052210
"redirect_url": "/visualstudio/port-migrate-and-upgrade-visual-studio-projects",
22062211
"redirect_document_id": false
22072212
},
2208-
{
2209-
"source_path": "docs/porting/port-migrate-upgrade-visual-studio-projects-2019.md",
2210-
"redirect_url": "/visualstudio/porting/port-migrate-and-upgrade-visual-studio-projects",
2211-
"redirect_document_id": false
2213+
{
2214+
"source_path": "docs/porting/port-migrate-upgrade-visual-studio-projects-2019.md",
2215+
"redirect_url": "/visualstudio/porting/port-migrate-and-upgrade-visual-studio-projects",
2216+
"redirect_document_id": false
22122217
},
22132218
{
22142219
"source_path": "docs/profiling/analyze-cpu-usage-in-a-windows-universal-app.md",

docs/modeling/customizing-presentation-on-the-diagram.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ manager: jillfra
1010
ms.workload:
1111
- "multiple"
1212
---
13-
# Customizing Presentation on the Diagram
14-
The diagram is the main presentation area of a domain-specific language designer. Usually, users will use the diagram to construct their models. You can customize the diagram as described in the following topics.
13+
# Customize presentation on the diagram
14+
15+
The diagram is the main presentation area of a domain-specific language designer. Usually, users will use the diagram to construct their models. You can customize the diagram as described in the following articles:
1516

1617
- [Defining Shapes and Connectors](../modeling/defining-shapes-and-connectors.md)
1718

@@ -23,10 +24,8 @@ The diagram is the main presentation area of a domain-specific language designer
2324

2425
- [Setting a Background Image on a Diagram](../modeling/setting-a-background-image-on-a-diagram.md)
2526

26-
- [Nesting Shapes](../modeling/nesting-shapes.md)
27-
2827
- [Embedding a Diagram in a Windows Form](../modeling/embedding-a-diagram-in-a-windows-form.md)
2928

30-
## See Also
29+
## See also
3130

3231
- [Navigating and Updating a Model in Program Code](../modeling/navigating-and-updating-a-model-in-program-code.md)

docs/modeling/defining-shapes-and-connectors.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ manager: jillfra
88
ms.workload:
99
- "multiple"
1010
---
11-
# Defining Shapes and Connectors
11+
# Define shapes and connectors
12+
1213
There are several basic types of shapes that you can used to display information on a diagram in a domain-specific language (DSL).
1314

1415
## <a name="shapeTypes"></a> Basic Types of Shapes and Connectors
15-
A DSL diagram shows a collection of *shapes* interlinked by lines or *connectors*. Typically, but not always:
16+
17+
A DSL diagram shows a collection of *shapes* interlinked by lines or *connectors*. Typically, but not always:
1618

1719
- Shapes are the visible representation of model elements.
1820

@@ -22,18 +24,19 @@ There are several basic types of shapes that you can used to display information
2224

2325
- Embedding relationships between model elements are shown by containment. For example, elements representing component ports are embedded in the component.
2426

25-
These patterns are not enforced, but are more strongly supported. When you design a DSL, bear in mind that the design of the embedding relationships should be influenced by how you want to present the model on the screen. By contrast, the reference relationships should reflect the concepts of your business domain.
27+
These patterns are not enforced, but are more strongly supported. When you design a DSL, bear in mind that the design of the embedding relationships should be influenced by how you want to present the model on the screen. By contrast, the reference relationships should reflect the concepts of your business domain.
2628

27-
The following types of shapes are available:
29+
The following types of shapes are available:
2830

2931
|Shape type|Description|
3032
|-|-|
31-
|Geometry shape|General purpose rectangular or elliptical shape. You can display text and icon decorators in specific positions relative to the bounds of the shape.<br /><br /> To nest shapes inside geometry shapes, see [Nesting Shapes](../modeling/nesting-shapes.md).|
33+
|Geometry shape|General purpose rectangular or elliptical shape. You can display text and icon decorators in specific positions relative to the bounds of the shape. You can also nest shapes inside geometry shapes.|
3234
|Compartment shape|Rectangle containing a header and compartments, like a UML class. Each compartment can contain a list of text rows.<br /><br /> The rows typically represent elements embedded under the element represented by the shape. For an example, create a DSL from the Class Diagrams solution template.|
3335
|Image shape|Shape that displays an image.|
3436
|Port shape|A small rectangle designed to attach to the outline of another shape. Typically used in component models.<br /><br /> The model element represented by a port is typically embedded under the element represented by the parent shape. For an example, create a DSL by using the Components solution template.<br /><br /> By default, a port shape can slide along the sides of its parent. You can define a Bounds Rule to constrain it to a particular position.<br /><br /> By making a port shape very small and transparent, you can use it to provide a fixed connection point on the surface of its parent shape.|
3537
|Swimlanes|Swimlanes partition a diagram into horizontal or vertical segments. The swimlane always stays underneath the other shapes on the diagram.<br /><br /> Typically the model elements of the swimlane are parented on the model root, and the other elements are parented on them. For an example, create a DSL from the Task Flow solution template.|
3638
|Connectors|The lines drawn between shapes typically represent reference relationships. You can set options to make a connector straight or rectilinear, and to have different types of arrowhead.|
3739

38-
## <a name="shapeInheritance"></a> Shape Inheritance
39-
A shape can inherit from another shape. However, the shapes must be the same kind. For example, only a geometry shape can inherit from a geometry shape. Inherited shapes have the compartments and decorators of their base shape. Connectors can inherit from connectors.
40+
## Shape inheritance
41+
42+
A shape can inherit from another shape. However, the shapes must be the same kind. For example, only a geometry shape can inherit from a geometry shape. Inherited shapes have the compartments and decorators of their base shape. Connectors can inherit from connectors.

docs/modeling/nesting-shapes.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/modeling/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@
9898
href: customizing-text-and-image-fields.md
9999
- name: Set a Background Image on a Diagram
100100
href: setting-a-background-image-on-a-diagram.md
101-
- name: Nest Shapes
102-
href: nesting-shapes.md
103101
- name: Embed a Diagram in a Windows Form
104102
href: embedding-a-diagram-in-a-windows-form.md
105103
- name: Customize Tools and the Toolbox

0 commit comments

Comments
 (0)