def shpgraph(self, DstSets, src=None, avoid_nodes=None, avoid_edges=(),
		 srcname=None, dstname=None):
	if src is None:
	    Src = self.iso(self.View.root)
            if srcname is None and self.View.root is self.View.heapyc.RootState:
                srcname = '%sRoot'%self.reprefix
	else:
	    Src = self.idset_adapt(src)
	if avoid_nodes is None:
	    AvoidNodes = self.Nothing
	else:
	    AvoidNodes = self.idset_adapt(avoid_nodes)
	AvoidEdges = self.nodegraph(avoid_edges)
	G, DstSets = self.shpgraph_algorithm(DstSets, Src, AvoidNodes, AvoidEdges)

	return self.ShortestGraph(self, G, DstSets, Src, AvoidEdges,
				  srcname, dstname)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/Path.py/_GLUECLAMP_.shpgraph/original