Topological Kirchhoff law and bulk-edge correspondence for valley Chern and spin-valley Chern numbers | Synapse