A graph-oriented approach to address generically flat outputs in structured LTI discrete-time systems