Added graph size and clear