Code snippet below:
for e in tqdm(our_new_edges):
title_1 = 'just a normal edge'
input(f'title recieved here is :{title_1}')
nt.add_edge(e[0],
e[1],
value = 2,
title = title_1,
color = "orange" if "span" in e[2].get('title', "just a normal edge") else "blue"
Code snippet below: for e in tqdm(our_new_edges): title_1 = 'just a normal edge' input(f'title recieved here is :{title_1}') nt.add_edge(e[0], e[1], value = 2, title = title_1,
color = "orange" if "span" in e[2].get('title', "just a normal edge") else "blue"