Add initial implementation for node_is_link
More fixes to layout code