-
Notifications
You must be signed in to change notification settings - Fork 37
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
Revisiting the directionality of edges (Nov 2018) #131
Comments
Examples of other people: Dependency graphI googled "dependency graph visualization" and clicked on a bunch of stuff on the first page. Everything I looked at either had no directionality or had directionality consistent with UML: dependent -> independent. Dependent -> IndependentExamples using this convention:
Independent -> DependentDidn't find any. Inheritance graphChild -> ParentExamples using this convention:
Parent -> ChildExamples using this convention:
|
I think @jayqi makes a pretty convincing point that we should switch the order of inheritance. If we decide to, I think we need to pull this into v0.3.0 milestone since I want to do some publicity around that release and it would suck to get people into using |
I think this also makes more sense if we consider the network measures we calculate. For example, PageRank:
In the Whereas in the |
Ok @jayqi & @jameslamb. You make a convincing argument. What I am hearing is that there is a UML convention and adhering to that convention will make it easier to integrate with other packages and for them to integrate with us. The only potential counterpoint I can think of is edge aesthetics which is subjective and a minor point comparatively. Let's fit this in the next release, v0.3.0. |
It's funny Sphinx is the only one that does it the other way. There's a two-year-old open issue about it where people say it's more common to see the UML convention. |
Right now we have a convention:
This was chosen as the convention by democratic polling among pkgnet authors back about a year ago or so.
I would like to reopen the discussion for the reason that our current convention disagrees with UML which a lot of other applications out there follow.
Unified Modeling Language (UML)
UML is a widely used modeling framework for software engineering that is also an ISO standard.
For diagramming dependencies:
For class diagrams showing inheritance
The text was updated successfully, but these errors were encountered: