Is it possible (and if yes then how or has this been done) to convert v.net.spanningtree in to a QGIS/python (custom) script that can be accessed in the QGIS graphical modeler in a way that GRASS is not needed to be installed?
Use case:
I have built a model in the QGIS graphical modeler that uses the GRASS spanning tree algorithim, however, I would like this model to work on other people's computers who may not be able to easily install GRASS (or access its plugins through QGIS GUI) so they can use the model, as well as hopefully we could install it on android tablets (that may not have or even be able to install GRASS?).
This model (which currently collates about 50 algorithms which I hope I can simplify a bit!) is currently working well on my desktop but ultimately hoping to get it working on android tablets to be used in the field (though haven't tested QGIS on android yet so not sure of any limitations that may be encountered with that ... though hopefully soon!).
Notes:
The QGIS plugin "Reconstruct Line" (https://github.com/nextgis/ReconstructLine), using the "Insert multiple lines" functionality, also essentially achieves the same result as the GRASS v.net.spanningtree if this is any help as perhaps it would be easier to make this availiable in the graphical modeller/as a custom script.
I am using QGIS 2.16.2 on Windows 7 (but would ultimately need a solution that is workable on other systems)
If the only solution is to create a script from scratch it might be a bit beyond my capabilities at the moment. I do not have python/scripting skills but may be able to work my way through using trial and error in some cases if any proposed solution is close to the mark and not too complex to follow.