An indoor navigation model and its network extraction