Rely on fill instead of color for graphr/s/t
functions for flexibility and consistency
#46
Labels
graphr/s/t
functions for flexibility and consistency
#46
Currently we rely on the color aesthetics to color the inside of nodes. However, once node colors and shapes are declared, color becomes the outside color.
For example,
autographr(ison_lawfirm, node_color = "school")
andautographr(ison_lawfirm, node_color = "school", node_shape = "practice")
.This happens because of inconsistencies in using both ggplot2 and ggraph packages in our functions. By refactoring and making code more consistent, will allow that we use color for the outside and fill for inside colors throughout. That is, we will have the "node_color" and "node_fill" arguments in the autographr/s/d functions.
The text was updated successfully, but these errors were encountered: