(self, data, **kwargs)
Generate a new graph using a dictionary.

        Args:
            data (dict): A dictionary of dictionaries adjacency representation.
            kwargs (dict[str, object]): Depending on the resource they may
                require different sets of arguments to be able to run a raw
                API request.

        Raises:
            ValueError: If the import is not successful.
Generate a new graph using a dictionary.
Generate a new graph using a dictionary .
def from_manual(self, data, **kwargs):  # pylint: disable=arguments-differ
        """Generate a new graph using a dictionary.

        Args:
            data (dict): A dictionary of dictionaries adjacency representation.
            kwargs (dict[str, object]): Depending on the resource they may
                require different sets of arguments to be able to run a raw
                API request.

        Raises:
            ValueError: If the import is not successful.
        """
        super().from_manual(**kwargs)
        if not isinstance(data, dict):
            raise ValueError('Data needs to be a dict of dictionaries')

        try:
            graph = nx.from_dict_of_dicts(data)
        except AttributeError as exc:
            raise ValueError('Unable to generate a graph') from exc

        self.from_graph(graph)
def from_manual ( self , data , * * kwargs ) : # pylint: disable=arguments-differ super ( ) . from_manual ( * * kwargs ) if not isinstance ( data , dict ) : raise ValueError ( 'Data needs to be a dict of dictionaries' ) try : graph = nx . from_dict_of_dicts ( data ) except AttributeError as exc : raise ValueError ( 'Unable to generate a graph' ) from exc self . from_graph ( graph )