Initializes the Graph to an empty graph with no nodes or edges. def add_node(self, node): If node is already in the graph, returns False and does not modify the graph. Otherwise, adds node to the ...
# and returns a set containing all the important links on that page. # An important link is a link that is inside a bold (<b>...</b>) element # or that contains a bold element inside the link text. # ...