Arbitrary metadata can be attached to graphs, nodes, and edges. By default, the data is a named list of attributes (key-value pairs).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | graph_data(g)
graph_data(g) <- value
graph_attr(g, key)
graph_attr(g, key) <- value
node_data(g, node)
node_data(g, node) <- value
node_attr(g, node, key)
node_attr(g, node, key) <- value
edge_data(g, src, tgt, ...)
edge_data(g, src, tgt, ...) <- value
edge_attr(g, src, tgt, ..., key)
edge_attr(g, src, tgt, ..., key) <- value
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.