type: string
default: ""

we can show nodes whose name matches a given value by setting the nameToMatch parameter.

showing:

from webweb import Web

web = Web(
    adjacency=[[0, 1], [1, 2]],
    display={
        'nodes' : {
            0 : {
                'name' : 'Huberg',
            },
            1 : {
                'name' : 'Pierot',
            },
            2 : {
                'name' : 'Slartibertfast',
            },
        },
    },
)

web.display.nameToMatch = 'Pierot'

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