Tools to build graphs of various kinds.
Bases: object
Compare graphs with boolean result.
Calculate relationship between graph1 and graph2.
Parameters: |
|
---|---|
Returns: | 0 if identical, 1 if equivalent, otherwise 2 |
Return type: | int |
Do graph1 and graph2 have the same shape?
The type of storage entity that a node represents is considered significant, but not its identity.
Parameters: |
|
---|---|
Returns: | True if the graphs are equivalent, otherwise False |
Return type: | bool |
Are graph1 and graph2 identical?
The identity of every node matters.
Parameters: |
|
---|---|
Returns: | True if the graphs are identical, otherwise False |
Return type: | boolean |
Bases: object
Displaying a generated multigraph by transformation to a graphviz graph.
Convert graph to graphviz format.
Parameters: | graph (DiGraph) – the graph |
---|---|
Returns: | a graphviz graph |
Designate its general layout and mark or rearrange nodes as appropriate.
Bases: object
Coordinate graph generating activities.
Decorate a graph with additional properties.
Parameters: |
|
---|
Get a complete graph storage graph.
Parameters: | context (Context) – the libudev context |
---|---|
Returns: | the generated graph |
Return type: | DiGraph |