add commands for graph
graph command