def _repr_html_(self): d = DisplayNode() d.display('graph', self.make_graph_of_self() ) return d._repr_html_()