def add_edge(self, source, target): """ Add a node (a zettel) to the network. Parameters ---------- source : str or int The ID of the source zettel. target : str or int The ID of the target (cited) zettel. """ self.graph.add_edge(source, target)