code: func (mn *mocknet) Links() LinkMap {
  	mn.Lock()
  	defer mn.Unlock()
  
  	links := map[string]map[string]map[Link]struct{}{}
  	for p1, lm := range mn.links {
  		sp1 := string(p1)
  		links[sp1] = map[string]map[Link]struct{}{}
  		for p2, ls := range lm {
  			sp2 := string(p2)
  			links[sp1][sp2] = map[Link]struct{}{}
  			for l := range ls {
  				links[sp1][sp2][l] = struct{}{}
  			}
  		}
  	}
  	return links
  }
docs: // Links returns a copy of the internal link state map.
  // (wow, much map. so data structure. how compose. ahhh pointer)