none
UML Association cardinality in Visio 2013

    Question

  • Is there a way to define cardinality (1:1, 1:N, N:M,...) of associations in UML class diagrams in Visio 2013?

    Thanks for help.

    Friday, June 28, 2013 12:47 PM

Answers

All replies

  • Hi,

    Use relationship to create the associations in UML diagrams.

    Then double click the relationship, enter the cardinality.


    Jaynet Zhang
    TechNet Community Support

    Monday, July 01, 2013 7:55 AM
  • Hi Jaynet,

    thanks for your reply. I tried the approach that you describe but it is not useful for vertical relationships. Look at the example below - it is not clear what is the relation between A and C. Previous versions of Visio had specific attributes in properties of class associations. Are they gone in Visio 2013 (as most UML features)?

    Monday, July 01, 2013 9:23 AM
  • modeling support for both uml and database was dropped in v2013.

    al


    Al Edlund Visio MVP


    Monday, July 01, 2013 12:33 PM
  • Ok, that means bye-bye Visio as a SW project documentation tool. Which actually brings a question if there is some value of the whole MS Office stack for a software development company.

    Tuesday, July 09, 2013 7:49 AM
  • Hi, it looks like all the UML-support is in Viso 2013 now.

    http://office.microsoft.com/en-us/visio-help/about-uml-models-HP001208814.aspx

    Thursday, October 31, 2013 6:42 PM
  • Hi Nicklas, your link points to Visio 2007. We are talking aboyt Visio 2013. UML support was dropped in it. Quite symptomatic......  
    Thursday, October 31, 2013 9:11 PM
  • You need to right click the relationship and you can set the beginning and end cardinality whether its

    • zero or more
    • 1 or more
    • 1 and only one
    • zero or 1

    It's not great for setting a maximum on a relationship though. It does have an option "show multiplicity" which helps to some degree.


    • Edited by monkeymaj1k Tuesday, June 24, 2014 12:23 PM
    Tuesday, June 24, 2014 10:43 AM
  • modeling support for both uml and database was dropped in v2013.

    al


    Al Edlund Visio MVP


    Not sure where you got this from. UML support is definitely there in Visio 2013. Not very user friendly but it's there.
    Tuesday, June 24, 2014 10:44 AM
  • Al said modelling support, not just UML support.


    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

    Tuesday, June 24, 2014 7:01 PM