changed pack to add flows to edge attribtues