def METHOD_NAME(self, node: AttributeNode) -> None:
    self.add_node(node.instance)
    # create a node in the attribute's instance's subgraph
    with self.digraph.subgraph(name=self.node_key(node.instance)) as subgraph:
        subgraph.node(self.node_key(node), node.name, shape="ellipse")