FlowGraph: Creating reusable animations