# Register an inline SVG shape
register_svg_shape("simple_star",
'
')
# Use it in a network
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
cograph(adj) |> sn_nodes(shape = "simple_star") |> splot()
Run the code above in your browser using DataLab