grakel.graph
.is_edge_dictionary¶
-
grakel.graph.
is_edge_dictionary
(g, transform=False)[source][source]¶ Define if input is in a valid edge dictionary format.
- Parameters
- gObject
The input object.
- transformbool, default=False
Defines if the input will be transformed to the internal edge dictionary support format.
- Returns
- is_edge_dictionarybool
A variable that determines if the input is a valid edge dictionary.
- g_transformed_verticesset
Holds the transformed object vertices of the edge_dictionary.
- g_transformed_edge_dictdict
Holds the transformed object as a 2-level edge dict. This output appears only if transform parameter is True.