def _repr_svg_(self):
        """ Returns an SVG representation of this Assembly's dependency graph
            (if pygraphviz is not available, returns an empty string)
        """
        try:
            import pygraphviz
            return self.get_graph(components_only=True, format='svg')
        except __HOLE__:
            return ''
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/assembly.py/Assembly._repr_svg_