What is the best way to extract the neighboring nodes of a given node ID in a VG graph? I can think of a couple, but it's not clear which would be the most direct way:
vg find -n ID -c 1 -x graph.xg | vg view -j -would give a json that contains the node IDs.
vg stats -S graph.vgwould output a table where I could search for the desired node ID lines.
There are a few more methods I can think of that indirectly give me the information by parsing a JSON, but I was wondering if there's a more direct way?
Thanks in advance,