You can refer to this documentation, which details how to access Graph using the Python language.
However, for the AutoLISP language, Graph is currently not supported.
More additional information can be found at this link:
https://learn.microsoft.com/en-us/graph/tutorials
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.