vertex_extract -i in1 -o out1.file out1.mr
vertex_degree -i mre -o vlist.txt mrv
This is a named command which extracts a list of all the vertices in a graph from the edge list.
See the named command doc page for various ways in which the -i inputs and -o outputs for a named command can be specified.
In1 stores a set of edges. No assumption is made about duplicates or self edges, i.e. (Vi,Vj) may appear multiple times, both (Vi,Vj) or (Vj,Vi) may appear, as may (Vi,Vi). The input is unchanged by this command.
Out1 will store the vertices in the graph.
Related commands: none