I'm attempting to include additional information on nodes. I've imported JSON data to the graph in the following manner:
$.getJSON...
s = new sigma({
graph: json,
settings: {
enableHovering: false
}
The JSON file contains more attributes than what Sigma is looking for when importing the graph. For example,
"nodes": [{"size": 3.104487111312395, "color": "rgb(181, 229, 127)",
"attributes": {"pp": "...jpg"}, "id":1,"x":1,"y":1,
However, Sigma does not import these additional attributes to the graph and only utilizes x, y, color, and size.
<circle data-node-id="1" class="sigma-node" fill="rgb(85, 184, 141)"
cx="357.70791360671683" cy="-151.86561654993392" r="1.8292755337720816"
style="display: none;"></circle>
Is there a way to import extra attributes to Sigma nodes?