# Actions

The React Flow element provides the following actions that you can call from your Bubble app's workflow:

## Data Management

* [Load nodes and edges](/reactflow-for-bubble.io/element-reference/actions/load-nodes-and-edges.md) - Primary action for loading chart data
* [Clear graph](/reactflow-for-bubble.io/element-reference/actions/clear-graph.md) - Remove all nodes and edges
* [Export to JSON](/reactflow-for-bubble.io/element-reference/actions/export-to-json.md) - Export current chart data to JSON states

## View Controls

* [Fit view](/reactflow-for-bubble.io/element-reference/actions/fit-view.md) - Automatically fit all nodes in viewport
* [Zoom in](/reactflow-for-bubble.io/element-reference/actions/zoom-in.md) - Increase zoom level
* [Zoom out](/reactflow-for-bubble.io/element-reference/actions/zoom-out.md) - Decrease zoom level
* [Set zoom](/reactflow-for-bubble.io/element-reference/actions/set-zoom.md) - Set specific zoom level
* [Set center](/reactflow-for-bubble.io/element-reference/actions/set-center.md) - Pan to specific coordinates

## Layout

* [Auto layout](/reactflow-for-bubble.io/element-reference/actions/auto-layout.md) - Apply automatic layout to existing nodes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enhancio.gitbook.io/reactflow-for-bubble.io/element-reference/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
