building graph from enter function is work!!!
alpha version