State-space based network topology identification