refactor
done: mapgraph cycle generator
add