afourmy / pyNMS

A vendor-agnostic NMS for carrier-grade network simulation and automation
GNU General Public License v3.0
83 stars 15 forks source link

Center view on the network #10

Open afourmy opened 7 years ago

afourmy commented 7 years ago

Implement a new "Center view" feature that computes the coordinates of the smallest rectangle that contains all nodes displayed on the canvas, and focus the view on that rectangle. Should work for a selection as well.