convert graph to cdv, and setting up second floor