added option leaves to command ShowUsedGraph