modified colocationgraph to abstractcolocationgraph
add layered nodes to the node set in abstractcolocationgraph