Diakoptics and networks