How to use GraphAStar.h

Hello out there,
I am trying to use the a* implementation of unreal located in Engine/Source/Runtime/AIModule/Public.
I created the new classes including neccesary functions as discribed from line 59 but I am struggeling with what to do with FNodeRef and how to tell Unreal to use my new classes. I assume, I have to do some defintions somewhere in my file, but after hours of research and try and error I simply ended up here.
I dont need this for a specific project. It is more about learning how things work.
A little example on how to use it would be a very nice thing.
Sidenote: I am not struggeling with setting up the functions in MyTGraph and MyTQueryFilter.
Greetings from Germany
Have a nice start in 2020