Topology

Topology#

is_undirected(edge_index[, edge_features])

Determines whether a graph is undirected based on the given edge index and optional edge features.

is_directed(edge_index[, edge_features])

Determines whether a graph is directed based on the given edge index and optional edge features.

get_num_hops(model)

Returns the number of hops the model is aggregating information from.