fill out attrib.type and improve GraphML import (#59, #60)