Closed mattansb closed 3 years ago
(BTW, I am absolutely in love with the edges()<-
and nodes()<-
functions! This is fantastic!!)
@mattansb this is already possible, see the vignette https://cjvanlissa.github.io/tidySEM/articles/Plotting_graphs.html#visual-aspects
You can just add the desired aesthetic as a column to the edges data.frame
. E.g.:
edges(p)$colour <- c("red", "blue", "red")
This is a spectacular package! The plots look soooooooo nice right out of the box!
Some enhancements / suggestions (:
Is it possible to map edge data to the aesthetics of the edges (from
get_edges()
)? Something likeaes(color = est)
that can then be controlled withscale_color_*()
or oraes(linetype = p < 0.05)
that can then be controlled withscale_linetype _*()
or something like that?Thanks!