mlx_graphs.utils.topology.is_directed#
- mlx_graphs.utils.topology.is_directed(edge_index: mlx.core.array, edge_features: mlx.core.array | None = None) bool [source]#
Determines whether a graph is directed based on the given edge index and optional edge features.