plotly_1.py 338 B

1234567891011121314
  1. def add_node(self, node_id, title):
  2. """
  3. Add a node to the network.
  4. Parameters
  5. ----------
  6. node_id : str, or int
  7. A unique identifier for the node, typically the zettel ID.
  8. title : str
  9. The text label for each node, typically the zettel title.
  10. """
  11. self.graph.add_node(node_id, title=title)