> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/internal/callgraph/callgraph.nodes.md).

# CallGraph.nodes()

`nodes() → Dict[str,` [`CallNode`](/glider-ide/api/internal/callnode.md)`]`

## Query Example

```python
from glider import *


def query():
  # Query first contract
  contracts = Contracts().exec(1)
  
  # Get all call nodes from the contract's call graph
  call_nodes = contracts[0].call_graph().nodes()
  
  # print all call nodes' corresponding function names
  for node_id in call_nodes:
    print(call_nodes[node_id].callable_name())
    
  return contracts
```

## Example Output

```json
{
    "print_output": [
        string"REBITCOIN",
        string"totalSupply",
        string"totalBurned",
        string"balanceOf",
        string"transfer",
        string"transferFrom",
        string"approve",
        string"allowance",
        string"burn",
        string"burnFrom",
        string"onlyOwner"
    ]
}
```
