Есть ли способ автоматически добавлять дополнительные точки подключения к линии жизни актера в Visio 2013 с использованием трафарета последовательности UML?

4122
Jozef Legény

Я использую Visio 2013 с объектами трафарета последовательности UML. Когда я добавляю Объект или спасательный круг Актера на холст, я могу схватить его внизу с помощью желтого алмазного символа и увеличить его, чтобы сделать его длиннее.

Однако, пройдя определенную длину, спасательный круг больше не добавляет точек соединения к себе, поэтому он совершенно бесполезен. Я могу вручную добавить контрольные точки к нему, выбрав инструмент соединительной точки и нажав на него. Но этот метод крайне непрактичен, так как он не выравнивает точки на линии, и очень трудно выровнять их вертикально по нескольким линиям жизни.

Есть ли способ заставить Visio автоматически добавлять больше контрольных точек?

6

2 ответа на вопрос

3
Patrick Huber

You can create a custom stencil, drag the fixed shape over to the stencil and select 'Edit Master'.

Due to link rot potential, I'm copying verbatim from the following:

Edit a Master Shape

When you need a specific shape and none are exactly right, you can pick a shape that’s pretty close, make a copy in your own stencil, and customize your copy of the shape. The customized shape is available in any diagram you make.

  1. Copy the master shape to a custom stencil, such as your Favorites stencil, the Document Stencil, or a new stencil. For information about custom stencils, see Create, save, and share custom stencils.

  2. In your custom stencil, right-click the master shape and click Edit Master > Edit Master Shape. A new window opens with the shape ready to edit.

  3. Make changes to the master shape. For example, use the data tools to create Shape Data fields, the Shape Styles tools on the Home tab, and the Shape Design tools on the Developer tab to make the changes you want. When you’re done, close the window. Visio asks whether you want to update the shape. Click Yes to save the changes.

  4. This will create a new shape with your additional connection points that you can reuse in the document.

Complex master shapes are usually made up of many small, simple shapes that are grouped together. You can edit those small, simple shapes, for example by changing the color or size of one or more, by following the next procedure.

Create, save, and share custom stencils

You can create a new stencil to hold shapes that you use often and want to find quickly. After you have created your new stencil, you can then save it to reuse later or share it with other people.

Create a new custom stencil

  1. In the Shapes window, click More Shapes, and then click New Stencil.
  2. In the Shapes window, right-click the title bar of the new stencil, and then click Save As.
  3. Type a name for your stencil, and then click Save. By default, custom stencils are saved in your My Shapes folder.

To open your new custom stencil in another drawing, in the Shapes window, click More Shapes, point to My Shapes, and click the stencil name.

Add shapes to a custom stencil

If the stencil title bar has the icon A red asterisk indicates that a stencil is editable. (asterisk), you can edit the stencil by adding, deleting, and modifying shapes.

  1. Open the custom stencil that you want to add shapes to.
  2. If the stencil title bar does not show the icon A red asterisk indicates that a stencil is editable. (asterisk), right-click the stencil title bar and click Edit Stencil.
  3. Drag a shape from another stencil or from the drawing page onto the custom stencil. A new master shape will be added to the stencil.
  4. To edit the name of the master shape, right-click the shape and then click Rename Master.
  5. Type a name for the master shape and press ENTER.

Save a custom stencil

  1. To save changes to a stencil, right-click the stencil title bar, and then click Save.
  2. To save a copy of a stencil with a new name, right-click the stencil title bar, click Save As, type a name for the new stencil, and then click Save. By default, custom stencils are saved in your My Shapes folder.
Не могли бы вы добавить немного больше информации в пост? Ссылки имеют тенденцию гнить, и хотя ваш ответ кажется верным (я не пользователь Visio, поэтому не могу судить об этом), он становится коротким, когда эта ссылка перестает работать. Hennes 9 лет назад 0
Я попытался сделать это и добавил больше точек подключения. Убедитесь, что вы установили тип точки подключения как внутренний (щелкните правой кнопкой мыши), иначе вы не сможете подключить к нему никакие сообщения. Chris 5 лет назад 0
0
Sean Flanagan

I just came up against this issue, and found that if you click on the bottom connector point, you'll get the cross shaped selector and the connector point will turn yellow. If you hover in that area, you'll see a tooltip for 'extend lifeline'.

You can then extend the lifeline at least to the bottom of the page. I don't know if there is a limit, tho.

По крайней мере, в Visio 2013 контрольные точки перестают появляться после примерно 40 разъемов. Jozef Legény 8 лет назад 0