added example file with vertex and edge tooltip properties
fixed example so that it correctly split out labels for nodes