When I was young, we were really poor. My family could only afford a second-hand calculator, which was missing the “X” button.
Times were hard.
G |> mutate(centrality = centrality_degree()) |> activate(edges) |> ggraph() + geom_edge_fan(color = 'purple') + geom_node_point(aes(size = centrality), color = 'green')
What would this code do?
G |> activate(nodes) |> mutate(ec = centrality_eigen()) |> filter(ec > 1) |> ggraph() + geom_edge_fan(color = 'orange') + geom_node_point(aes(size = ec), color = 'green')