Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apt.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
zip
zip
libglpk40
6 changes: 5 additions & 1 deletion install.R
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
install.packages("graphlayouts")
install.packages(c(
"graphlayouts",
"ggraph",
"igraph"
))
2 changes: 2 additions & 0 deletions methodshub.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ You can customize almost every aspect of the plot:

```{r}
V(g)$deg <- degree(g)
lay <- create_layout(g, layout = "stress")

ggraph(lay) +
geom_edge_link(alpha = 0.3) +
geom_node_point(aes(size = deg), color = "tomato") +
Expand Down
Loading