type: boolean
default: false

If true, fixes nodes wherever they are. Drag & drop still works. This is probably not a good idea to set unless we’re passing node coordinates as metadata attributes (it’ll leave all the nodes at the top left corner of the visualization).

showing:

from webweb import Web

# Instantiate webweb object
web = Web(
    adjacency=[[0, 1]],
    display={
        'nodes' : {
            0 : {
                'x' : 125,
                'y' : 80,
            },
            1 : {
                'x' : 125,
                'y' : 160,
            },
        },
    }
)

web.display.freezeNodeMovement = True

# show the visualization
web.show()
{
    "display": {
        "freezeNodeMovement": true,
        "nodes": {
            "0": {
                "x": 125,
                "y": 80
            },
            "1": {
                "x": 125,
                "y": 160
            }
        }
    },
    "networks": {
        "webweb": {
            "layers": [
                {
                    "edgeList": [
                        [
                            0,
                            1
                        ]
                    ],
                    "metadata": null,
                    "nodes": null
                }
            ]
        }
    },
    "title": "webweb"
}