When building panel, all edges are added to .js file but only ones connecting nodes on different axes are shown.
Cleaned up so code. Starting to test for 3x3 panels.