Contents:
GraphDataset.
graph2triplet
Convert graph object to graph triplet
graph (Graph) – Graph object
Graph
vertices (Index) – Graph vertices
Index
edge_weight (str) – Key of edge attribute for edge weight
str
edge_sign (str) – Key of edge attribute for edge sign
Tuple[ndarray, ndarray, ndarray]
Tuple
ndarray
eidx – Vertex indices of edges (\(2 \times n_{edges}\))
ewt – Weight of edges (\(n_{edges}\))
esgn – Sign of edges (\(n_{edges}\))