(self, graph_type)
Initialize Graph object.

        Args:
            graph_type: (str) Name of graph type.
Initialize Graph object.
Initialize Graph object .
def __init__(self, graph_type):
        """Initialize Graph object.

        Args:
            graph_type: (str) Name of graph type.
        """
        _nx_graph_class = GRAPH_TYPES.get(graph_type)
        self.nx_instance = _nx_graph_class()
        self._nodes = {}
        self._edges = {}
def __init__ ( self , graph_type ) : _nx_graph_class = GRAPH_TYPES . get ( graph_type ) self . nx_instance = _nx_graph_class ( ) self . _nodes = { } self . _edges = { }