def _get_sys_graph(self):

        if self._sys_graph is None:
            sgraph = self._probdata.relevance._sgraph
            if self.pathname:
                path = self.pathname.split('.')
                start = self.pathname + '.'
                slen = len(start)
                graph = sgraph.subgraph((n for n in sgraph if start == n[:slen]))
            else:
                path = []
                graph = sgraph.subgraph(sgraph.nodes_iter())

            plen = len(path)+1

            renames = {}
            for node in graph.nodes_iter():
                newnode = '.'.join(node.split('.')[:plen])
                if newnode != node:
                    renames[node] = newnode

            # get the graph of direct children of current group
            graph = collapse_nodes(graph, renames, copy=False)
            self._sys_graph = graph

        return self._sys_graph
Return the subsystem graph for this Group.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/group.py/Group._get_sys_graph