Link to home
Start Free TrialLog in
Avatar of _Esam
_Esam

asked on

How to show relationship between Interface and Class using Visio?

Hi,
I am trying to use Vision to show the relationship between a Class and an Interface.
How do I show this relationship using Visio?
I simply showed it with the dotted line with an open arrow?
What does this signify?
Please explain.

Thax.
_Esam
Avatar of fffej78
fffej78

The dotted line notation with an open arrow represents implementation.

For example if you have a diagram like this (excuse bad formatting!)

A -------> B

Then this means that A implements interface B.  Note that A could be another interface, or an object, or a class.

Avatar of _Esam

ASKER

Does A -----------> B also mean dependency?
What is the difference between dependency and implementation?

Please explain..
Thax..

_Esam
ASKER CERTIFIED SOLUTION
Avatar of fffej78
fffej78

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _Esam

ASKER

>My mistake - it shouldn't be an open arrow and it should be a solid line!

This is confusing!

What should it be?

Solid line open arrow?
Solid line closed arrow?
Dotted line open arrow?

Thax..

_Esam
Apologies.   A implements B should be a solid line with an open arrow.
Avatar of _Esam

ASKER

Solid line with open arrow also reprents strong association then???

Could you please tell me how to draw this with VISIO? (SOLID LINE OPEN ARROW)

Can't seem to do it!!!

_Esam
You may find the following link helpful:

http://www.phruby.com/stencildownload.html

It has additional styles for UML.
Avatar of _Esam

ASKER

>Apologies.   A implements B should be a solid line with an open arrow.

Should be a solid line with a closed arrow?

This is not  true then?

Because of this link:https://www.experts-exchange.com/questions/21860592/UML-diagram-in-Visio.html

_Esam
ARGH :)

Sorry, I've probably confused you more than helped you!  That should have course have been a solid line with a CLOSED arrow!
Avatar of _Esam

ASKER

That could happen.. :)

_Esam.