plotly_2.py 297 B

1234567891011121314
  1. def add_edge(self, source, target):
  2. """
  3. Add a node (a zettel) to the network.
  4. Parameters
  5. ----------
  6. source : str or int
  7. The ID of the source zettel.
  8. target : str or int
  9. The ID of the target (cited) zettel.
  10. """
  11. self.graph.add_edge(source, target)