> 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.backward_df_recursive.md).

# Point.backward\_df\_recursive()

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

`backward_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("_burn")
    .exec(10)
    .filter(
      lambda function : function.get_contract().address() == "0x0B79318ecc4cc8F314A985Fc2Da98891EFd238Bc" and function.get_contract().name == "ERC20Named"
    )
  )

  instructions = functions.instructions().exec(1,1)
  for instruction in instructions:
    backward_dfs = instruction.backward_df_recursive()
    if len(backward_dfs) > 3 and len(backward_dfs) < 7:
      print(f"Count of Points returned by backward_dfs: {len(backward_dfs)}")
      for backward_df in backward_dfs:
        print(backward_df.source_code())
      
  return functions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FTAdxDAne7a9u6oP40Es2%2FScreenshot%202025-09-09%20at%204.48.53%E2%80%AFPM.png?alt=media&amp;token=1bb2dd3f-7727-47da-8ef4-9986218271d3" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FDvLNXo5XXTNl6U10vvR5%2FScreenshot%202025-09-09%20at%205.21.42%E2%80%AFPM.png?alt=media&amp;token=6fae9a44-6e08-4b62-8ac9-6756761c0b34" alt=""><figcaption></figcaption></figure>
