if (FALSE) {
# Register from file
register_svg_shape("custom_icon", "path/to/icon.svg")
# Register from inline SVG
register_svg_shape("simple_star",
'
')
# Use in network
cograph(adj) |> sn_nodes(shape = "custom_icon")
}
Run the code above in your browser using DataLab