Datafy and nav

Is there an example of how to use datafy and nav with the results of query and pull in the client api?