I have a small graph with just a couple of vertices. How can I print out all the vertices in the graph using graql?
I assume you mean all the instances. In that case, the easiest way is:
match $x isa $type; $type isa concept-type; select $x
If you only want entities, you can change concept-type
to entity-type
above.