[gladys] weight as const reference in nav_graph

BIG COMMIT TO BE TESTED :-)
"Temporarily" breaks python scripts, but who cares ?