PartialGraphFlow and syntactic sugar for attachSource and attachSink