Making graph from steps