type: positive non-zero float
default: 1
we can adjust how much links resist deformation.
This number should be between 0
and 1
.
showing:
from webweb import Web
# Instantiate webweb object
web = Web([[0, 1], [1, 2], [2, 3], [3, 4], [4, 5]])
web.display.linkStrength = .5
# show the visualization
web.show()
{
"display": {
"linkStrength": 0.5
},
"networks": {
"webweb": {
"layers": [
{
"edgeList": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
4
],
[
4,
5
]
],
"metadata": null,
"nodes": {}
}
]
}
},
"title": "webweb"
}