graph generation panel added + many functions