Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
2  
This answer helped me to some extent, but Visio's behavior for (re)routing connectors is so infuriatingly quirky that I gave up using it for this purpose. So just a friendly tip: bring lots of patience to the table if you're going to model UML with Visio! –  Jeroen Apr 3 at 9:46
    
Thanks for the hint. I found another way that works even better. Instead of glueing the association to the shape glue it to these black points in the middle of the edge of the shape. This way you can determine on which side the association should stick. –  Dakkaron Apr 26 at 10:29
    
@Dakkaron glad to hear it helped. Feel free to edit your suggestion into the answer to make it more complete! –  Jeroen Apr 26 at 13:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.