halt if no nodes; add ability to add tags at graph creation