Swig extension for njet-routing