init proj
add ropeproject
init graph and getDistance