> 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/point/point/point.forward_df_recursive.md).

# Point.forward\_df\_recursive()

Returns the list of all points following the current point in the current data flow graph and outside of that.

`forward_df_recursive() →` [`APISet`](/glider-ide/api/iterables/apiset.md)`[`[`Point`](/glider-ide/api/point/point.md)`]`

## Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .with_name("claimTreasuryFundRewards")
    .exec(100)
    .filter(lambda function : function.get_contract().address() == "0xc0961B2A7607418F3a4A3611daB84E43842Dbd44")
  )

  instructions = functions.instructions().exec()
  instruction = instructions[1]
 
  forward_dfs = instruction.forward_df_recursive()
  print(f"Count of Points returned by forward_dfs: {len(forward_dfs)}")

  for forward_df in forward_dfs:
    print(forward_df.source_code())

  return instructions

```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FGhAqdXKcYfQ7tbrK4Zgv%2FScreenshot%202025-09-09%20at%205.54.31%E2%80%AFPM.png?alt=media&amp;token=bf9bab16-9390-4541-a80c-f8ead6f7bb2d" alt=""><figcaption></figcaption></figure>

To clarify, what is the difference between `forward_df` and `forward_df_recursive`? `forward_df_recursive` operates recursively. Below is the output when `forward_df` was used instead of `forward_df_recursive` :

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FVUj578ClKw5BoZxN7cCR%2FScreenshot%202025-09-09%20at%205.55.16%E2%80%AFPM.png?alt=media&amp;token=d1dc6294-e655-4f4c-9142-5f5a59d8d5b2" alt=""><figcaption></figcaption></figure>
