fix a bug in vertex output
deal with hanging nodes correctly
style formatted
output refinement level
style formatted
update README.md