Create a new diagram page when package is added to a diagram- instructions please.

anInkling 0 Reputation points
2023-01-25T15:46:50.2133333+00:00

On the page [https://support.microsoft.com/en-us/office/work-with-packages-in-uml-models-b4b5fb18-1879-44e1-904c-023318cb8046 are instructions on adding an add-in that seems to do what I want to do: When a package is added, I can click on the package and that will take me to a new Page where that page is added to the package and I can draw a class diagram or whatever. (It's usually a class diagram.) The instructions on the references help page say the following, but I can't see how to make that work in Visio 2019 Pro Desktop version. (These instructions are for earlier versions. Can't find anything later.)

Create a new package from a diagram

  1. In the tree view, double-click the icon for the diagram you want to add the package to. The drawing page for the diagram appears.
  2. From UML Static Structure, UML Use Case, UML Component, or UML Deployment, drag a package shape onto the drawing page.

An icon representing the package is added to the tree view.

Create a new diagram from a package

To automatically create a new diagram each time you add a new package to your model, on the UML menu click Options, and then, on the UML Add-In tab, select Create a diagram page when a package or subsystem shape is added to a document.

To create a new diagram if this option is not selected, right-click the new Package shape and click Diagrams, and then click New. Type a name for the diagram and select a diagram type, and then click OK.

Add elements to a package

In the tree view, right-click the package you want to add elements to, click New, and then choose the type of element you want to add.

An icon for the element is added to the tree view.

Represent package contents in a diagram

  1. In the tree view, right-click the icon for the package with contents you want to represent, and then choose the type of diagram you want to include in the package. The appropriate stencil and a blank drawing page appear. A watermark with the name of the diagram type appears on the workspace.
  2. Drag shapes representing the elements you want to include in the package onto the drawing page.

Facebook

[LinkedIn

](https://linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fwork-with-packages-in-uml-models-b4b5fb18-1879-44e1-904c-023318cb8046&title=Work%20with%20packages%20in%20UML%20models)

Visio
Visio
A family of Microsoft products used to create diagrams and vector graphics.
85 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 23,426 Reputation points Microsoft Vendor
    2023-01-26T08:54:32.6566667+00:00

    Hi @anInkling,

    I suggest you refer to this support article:

    https://support.microsoft.com/en-us/office/uml-diagrams-in-visio-ca4e3ae9-d413-4c94-8a7a-38dac30cbed6

    You can read the "Where is the UML Model Explorer?" part, as it said "Beginning with Visio 2013 Professional, there is no Model Explorer." and "if you have a drawing created with Model Explorer, you can't work with it in newer versions of Visio that don't include Model Explorer."

    This feature is removed from newer Visio, but your article said "Create a new package from the Model Explorer", you cannot start to create the package.

    Hope the information is helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments