Node now contains a vertex object rather than an index
typecheck