drop id, label from edges; check for edge attributes not in dict; store weight to size parameter