3

Here's the steps to reproduce my scenario:

  1. Open Visio 2013, start a new UML diagram.
  2. Add one class.
  3. Add another class.
  4. Add an association between the two classes.

    The diagram should now look like this:

    two classes connected with an association

  5. Move the rightmost class a bit downwards.

    Result: connector hasn't moved along. See:

    two classes seemingly unconnected

    Expected: The association should've stuck to the second class.

The reason I'm writing this as a SU question and not a bug on MS Connect is twofold. First, I'm afraid I'm missing something here and that I should use Visio differently to make the expected behavior work. Second, if this is a bug I'd still love to know if there's someone that knows a way around this.

I've tried searching ([1], [2], [3]) as well as making the connector stick to various parts of the UML class box, none of it helps.

I've also repeated the experiment with two Flowchart Process Shapes, and an UML directed association between the two: in this case the connector does move along.

What am I missing here?

Devid
  • 6,455
  • 13
  • 58
  • 75
Jeroen
  • 1,923

1 Answers1

2

Ugh, only minutes after typing up that question, I fiddle some more and find the answer. Apparently Visio is very picky about what the connector sticks to. I was casually dragging the connector and linking it to the ClassName bit, like so:

glueing to the ClassName

Instead, you should fiddle with your mouse, until you see this:

glueing to the Class

The easiest way I found so far to do this is moving your mouse to the left edge of the Class box until the green line surrounds the entire thing.

Leaving this up here, hoping it may help someone else too.

Jeroen
  • 1,923