NGCE Graph Topology Creation Code