none
How can I add partitions (swimlanes) to an activity diagram with Visual Studio 2010? RRS feed

  • Question

  • I'm using Visual Studio 2010 to model activity diagrams, it seems Rectangle shape is the only way to 'simulate' partitions (swimlanes).

    Am I missing something?

     


    http://huan-lin.blogspot.com/
    Friday, April 23, 2010 8:30 AM

Answers

  • OK! Here is what I do:

    1. Drag a Rectangle from Toolbox to my activity diagram, set its properties:

    • Line Thickness = 0.01
    • Color = DarkGray
    2. Drag an Object Node to the diagram, put it above the rectangle, and set Object Node's properties:
    • Color = Gainsboro
    It looks like this:


    Though not perfect, but it's the only way I can find. 

    http://huan-lin.blogspot.com/
    Monday, April 26, 2010 8:04 AM
  • Hi Michael,

    Yes, the current release provides the Rectangle shape to create swimlanes.

     


    Esther Fan | User Education | If a post answers your question, please click "Mark As Answer" for that post. Thanks!
    Monday, April 26, 2010 7:37 PM

All replies

  • OK! Here is what I do:

    1. Drag a Rectangle from Toolbox to my activity diagram, set its properties:

    • Line Thickness = 0.01
    • Color = DarkGray
    2. Drag an Object Node to the diagram, put it above the rectangle, and set Object Node's properties:
    • Color = Gainsboro
    It looks like this:


    Though not perfect, but it's the only way I can find. 

    http://huan-lin.blogspot.com/
    Monday, April 26, 2010 8:04 AM
  • Hi Michael,

    Yes, the current release provides the Rectangle shape to create swimlanes.

     


    Esther Fan | User Education | If a post answers your question, please click "Mark As Answer" for that post. Thanks!
    Monday, April 26, 2010 7:37 PM