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