scratch: implemented [node][edge] -> circular structure.