def beforeAddingToNetwork(self, net): Viewer.beforeAddingToNetwork(self, net) # loading library vizlib importVizLib(net)