dwb2023 commited on
Commit
ccfcc9c
·
1 Parent(s): 260e16d

update line separator

Browse files
pages/2_🌐_COVID_Network_Analysis.py CHANGED
@@ -191,7 +191,7 @@ def visualize_with_pyvis(G: nx.Graph, physics: bool = True) -> str:
191
  node["color"] = NODE_TYPES.get(node_type, {}).get('color', "#cccccc")
192
  node["size"] = 20 if node_type == "event" else 15
193
  title_attrs = {k: v for k, v in node.items() if k != "id"}
194
- node["title"] = "<br>".join(f"{k}: {v}" for k, v in title_attrs.items())
195
 
196
  # Configure edges
197
  for edge in net.edges:
 
191
  node["color"] = NODE_TYPES.get(node_type, {}).get('color', "#cccccc")
192
  node["size"] = 20 if node_type == "event" else 15
193
  title_attrs = {k: v for k, v in node.items() if k != "id"}
194
+ node["title"] = "\n".join(f"{k}: {v}" for k, v in title_attrs.items())
195
 
196
  # Configure edges
197
  for edge in net.edges: