I am new to R and IGraph.
I want to obtain the smallest weight of all edges (can also be the label of the edge) from a node to another. But My actual goal is to perform the same for each node, which will provide me with all smallest weight in each path from each node to each other node. Edited(graph is cyclic) My graph is cyclic and undirected.
Example of my goal:
Edges
NODE1 > NODE2
NODE2 > NODE3
NODE2 > NODE4
NODE3 > NODE4
Weight of edges
EDGE1 - 2
EDGE2 - 1
EDGE3 - 0.5
EDGE4 - 0.2
I want to get
1 as result from NODE1 to NODE3
0.5 from NODE1 to NODE4 (one path)
0.2 from NODE1 to NODE4 (another path)
Is it possible to do that?