Allow for more global attributes in graphviz

This commit expands dot-str so that general properties can be assigned
for `node` and `edge`. If more tags are found, it should be easy to add
them in.