add flows as nodes with their own unique id