Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPotpourri of graph viz and other improvements #143
Conversation
|
Looks great Jay!! These are really good changes. I love the dropdown to focus on one node. I have two recommendations:
|
|
Oh @jayqi , and you missed a little edit right here: https://github.com/UptakeOpenSource/pkgnet/blob/master/DESCRIPTION#L9 :) |
a33c396
to
f9d3947
Codecov Report
@@ Coverage Diff @@
## master #143 +/- ##
==========================================
- Coverage 86.62% 84.59% -2.03%
==========================================
Files 10 10
Lines 897 909 +12
==========================================
- Hits 777 769 -8
- Misses 120 140 +20
Continue to review full report at Codecov.
|
|
@bburns632 can you take another look at this? I think it's ready to go. |
|
Yes. Will review again tomorrow.
…On Mon, Dec 10, 2018, 8:59 PM James Lamb ***@***.*** wrote:
@bburns632 <https://github.com/bburns632> can you take another look at
this? I think it's ready to go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#143 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXZRyyLFS3GjnJ-eUpIR8jJ_gJqzIAeGks5u3x-FgaJpZM4Y_77j>
.
|
|
@jayqi excellent edits in the vignette. Thank you for going through the extra trouble there. Great PR. |
|
@bburns632 @jayqi I re-reviewed. Looks great! I re-read the vignette (per @bburns632 's request)...I agree with the recent change. "dependency"-"dependent" language is much clearer than what we had before. fatntastic job |
Lots of changes, but I think they make the reports a lot more user-friendly.
Graph viz
visnetwork::visGroupsfunctionality, preventing other things from using it. Closes #102 as it is no longer #relevant.AbstractGraphReporterto usevisNetwork::visIgraphLayoutinstead of separately explicitly using igraph to compute a layout and passing coordinates to visNetwork. The new implementation is simpler and doesn't require hard-coded aliases to available layouts.New functionigraphAvailableLayoutsreturns available igraph layout options.AbstractGraphReporterto the specific reporters:AbstractGraphReporterdefaults tolayout_nicelywithoutvisHierarchicalLayoutDependencyReporterandInheritanceReporterdefaults tolayout_as_treeandvisHierarchicalLayoutFunctionReporterdefaults tolayout_with_graphoptwithoutvisHierarchicalLayout. This seems to work well for large, highly interconnected graphs like function networks tend to be.InheritanceReporterwill now default to coloring nodes by class typeMisc
DependencyReporterandFunctionReporterto have convention dependent -> independent. This is how dependency works in UML. Closes #131.InheritanceReportererrors out if there are parent classes external to the package.