type: positive non-zero float
synonyms: r
default: 5
we can change the radius of the nodes by setting the display.radius
parameter.
showing:
from webweb import Web
# Instantiate webweb object
web = Web([[0, 1], [1, 2], [2, 3], [3, 4], [4, 5]])
# make nodes really big
web.display.radius = 20
# show the visualization
web.show()
{
"display": {
"radius": 20
},
"networks": {
"webweb": {
"layers": [
{
"edgeList": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
4
],
[
4,
5
]
],
"metadata": null,
"nodes": {}
}
]
}
},
"title": "webweb"
}