type: positive integer (an index)
default: 0

webweb will by default display the first layer, but if we’d like to show a particular one we can do so by setting the display.networkLayer property to the index of the layer we want to show.

showing:

from webweb import Web

# Instantiate webweb object
web = Web(title='webweb', adjacency=[[0, 1]])

web.networks.webweb.add_layer(adjacency=[[0, 1], [1, 2]])

web.display.networkLayer = 1

# show the visualization
web.show()
{
    "display": {
        "networkLayer": 1
    },
    "networks": {
        "webweb": {
            "layers": [
                {
                    "edgeList": [
                        [
                            0,
                            1
                        ]
                    ],
                    "metadata": null,
                    "nodes": {}
                },
                {
                    "edgeList": [
                        [
                            0,
                            1
                        ],
                        [
                            1,
                            2
                        ]
                    ],
                    "metadata": null,
                    "nodes": {}
                }
            ]
        }
    },
    "title": "webweb"
}