Graph Theoretic Foundations of Cyclic and Acyclic Linear Dynamic Networks