Will now detect if a node is declared twice or if an edge is left unconnected