Four steps to creating a data-flow graph