Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve bidirectional dependencies #4

Open
dcadenas opened this issue Mar 21, 2012 · 1 comment
Open

Resolve bidirectional dependencies #4

dcadenas opened this issue Mar 21, 2012 · 1 comment
Labels

Comments

@dcadenas
Copy link
Owner

When class A inherits, extends or includes class B we currently draw a dependency X from A to B.

A----->B
   X (inheritance/extension/inclusion)

We show a dependency Y from class B to class A when class B calls some method of class A (like in the template method pattern).

A<-----B
    Y

So in this cases the relationship between class A and B becomes bidirectional.

A<---->B
   X+Y

The diagram would be clearer if we remove dependency Y and just leave X, given that we somehow indicate that dependency X is based on inheritance/extension/inclusion.

So this feature will be done after issue #3

@aspiers
Copy link

aspiers commented Mar 4, 2014

Ah I see. Is there a quick fix or workaround for this? It seems to be really messing up the graphviz ranking on my graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants