def enclosure_directed(self):
        """
        Networkx DiGraph of polygon enclosure
        """
        root, enclosure = polygons.enclosure_tree(self.polygons_closed)
        self._cache['root'] = root
        return enclosure
def enclosure_directed ( self ) : root , enclosure = polygons . enclosure_tree ( self . polygons_closed ) self . _cache [ 'root' ] = root return enclosure
Networkx DiGraph of polygon enclosure