fix edges positions on DAG GUI