` from pyvis.network import Network import networkx as nx nx_graph = nx.cycle_graph(10) nx_graph.nodes[1][\'title\'] = \'Number 1\' nx_graph.nodes[1][\'group\'] = 1 nx