[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Root Directed Minimum Spanning Tree

From: Alex Hayes
Subject: [igraph] Root Directed Minimum Spanning Tree
Date: Wed, 16 Oct 2019 13:15:59 -0500

Hey all,

I'm having some trouble getting a root direct minimum spanning tree in igraph. Currently I've got


graph <- sample_pa(800)

ego_nodes <- ego(graph, nodes = 800, mode = "out")

# constructs a graph with nodes from root
# directed min spanning tree but too many edges
induced_subgraph(graph, ego_nodes[[1]])

Any advice?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]