hs diagrams program that outputs bookflocks flow