API Reference
This section provides a detailed overview of deepgraph’s core functionality, including the DeepGraph class, its methods for graph construction, partitioning, interfacing with other network packages, visualization, as well as various utility functions.
Additionally, you will find a decorator to facilitate the use of user-defined connector and selector functions when creating edges.
The DeepGraph class
|
The core class of DeepGraph (dg). |
Creating Edges
|
Create an edge table |
|
Create (ft) an edge table |
Graph Partitioning
|
Return a supernode DataFrame |
|
Return a superedge DataFrame |
|
Return supergraph DataFrames |
Graph Interfaces
|
Return |
|
Return a |
|
Return a |
|
Return a |
Plotting Methods
|
Plot nodes and corresponding edges in 2 dimensions. |
|
Plot nodes and corresponding edges by groups. |
|
Plot nodes and corresponding edges on a basemap. |
|
Plot nodes and corresponding edges by groups, on basemaps. |
|
Plot a histogram (or pdf) of x. |
|
Plot a logfile. |
Other Methods
|
Append a column with binning labels of the values in |
|
Append a component membership column to |
|
Keep only nodes in |
|
Keep only edges in |
|
Keep only nodes in |
|
Keep only edges in |
After removing nodes in |
The deepgraph.output_names Decorator
|
Decorator to specify the output variable names of a connector or selector function. |