network-map example working with inheritance