def digraph(self, files=[]):
        modules = []
        for _file in files:
            module = os.path.basename(_file)
            modulename = module.split('.yang')[0]
            if '@' in modulename:
                modulename = modulename.split('@')[0]
            modules.append(modulename)

        title = modules[0] if len(modules) == 1 else 'Dependency Graph'
        return self._gen_graph(modules, title)
Create a graph object
dataset/ETHPy150Open CiscoDevNet/yang-explorer/server/explorer/utils/dygraph.py/DYGraph.digraph