showing:

from webweb import Web

# make a list of unweighted edges
# (nodes can be numbers or strings)
edge_list = [[0, 1], [1, 2], [2, 3]]

# create the web
web = Web(edge_list)

# show the visualization
web.show()
from webweb import Web
import networkx as nx

G = nx.Graph()
G.add_edges_from([[0,1], [1, 2], [2, 3]])

# create the web
web = Web(nx_G=G)

# show the visualization
web.show()
% make a list of unweighted edges
edge_list = [...
    1, 2;
    2, 3;
    3, 4;
    ];

% call webweb
webweb(edge_list);
{
    "display": {},
    "networks": {
        "webweb": {
            "layers": [
                {
                    "edgeList": [
                        [
                            0,
                            1
                        ],
                        [
                            1,
                            2
                        ],
                        [
                            2,
                            3
                        ]
                    ],
                    "metadata": null,
                    "nodes": {}
                }
            ]
        }
    },
    "title": "webweb"
}