Read the flow chart stored in the database