(self)
return self._layout
Property that returns back the layout of the graph.
Property that returns back the layout of the graph.
Property that returns back the layout of the graph .
def layout(self):
        """Property that returns back the layout of the graph."""
        if self._layout:
            return self._layout

        layout = self._GRAPH_LAYOUTS.get('spring')
        self._layout = layout(self.graph)
        return self._layout
def layout ( self ) : if self . _layout : return self . _layout layout = self . _GRAPH_LAYOUTS . get ( 'spring' ) self . _layout = layout ( self . graph ) return self . _layout