How do i know the bones name?

I’m having similar issues as I am replicating this code for use in my own project. @max is there any way that you could explain why the error “modelEntity.model.getGraph” is not a function?

Thanks so much for your help!