3 ms·You could, but petgraph does that for you, so your life will be easier if you use petgraph :)by pcwalton 10y agoYou could, but petgraph does that for you, so your life will be easier if you use petgraph :)