DominikRafacz/deepdep

using label_percentage in plot_dependencies produces blank nodes

Closed this issue · 1 comments

#:# This produces not informative message (could be catched sooner)
plot_dependencies("deepdep", label_percentage = 0.5)

#:# This shows blank package nodes and arrows
plot_dependencies("deepdep", show_downloads = TRUE, label_percentage = 0.5)

Fixed both problems; now
plot_dependencies("deepdep", label_percentage = 0.5)
executes properly without throwing an exception and
plot_dependencies("deepdep", show_downloads = TRUE, label_percentage = 0.5)
shows small dots whenever package has not enough downloads to be plotted with label (instead of empty labels, as previously).