Remark on "Explicit topological formulation of Lagrangian and Hamiltonian equations for nonlinear networks"