• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1008
  • Last Modified:

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
0
_Esam
Asked:
_Esam
  • 5
  • 5
1 Solution
 
fffej78Commented:
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.

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

Please explain..
Thax..

_Esam
0
 
fffej78Commented:
My mistake - it shouldn't be an open arrow and it should be a solid line!

I've checked in "UML Distilled" (good introduction to UML) and in that they use a solid line. (see http://www.awprofessional.com/bookstore/product.asp?isbn=0321193687&rl=1 )

"A dependency between two elements if changes to the definition of one elements (the supplier) may cause changes to the other." (from UML Distilled)
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
_EsamAuthor Commented:
>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
0
 
fffej78Commented:
Apologies.   A implements B should be a solid line with an open arrow.
0
 
_EsamAuthor Commented:
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
0
 
fffej78Commented:
You may find the following link helpful:

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

It has additional styles for UML.
0
 
_EsamAuthor Commented:
>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:http://www.experts-exchange.com/Programming/Software_Design/Q_21860592.html

_Esam
0
 
fffej78Commented:
ARGH :)

Sorry, I've probably confused you more than helped you!  That should have course have been a solid line with a CLOSED arrow!
0
 
_EsamAuthor Commented:
That could happen.. :)

_Esam.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now