Unify and manage your data

Charts and Diagrams in AgentFlow

Learn more about the charts that AgentFlow can display in conversations and example prompts that can produce them.

AgentFlow contextually displays charts, graphs, or diagrams in a conversation when information is easier to understand visually than through text. These contextual visualizations help you identify patterns, compare results, and explore relationships more efficiently.

The following types of charts are supported in AgentFlow:

Bar chart

Use a bar chart to compare values across multiple categories.

Example prompt: Show entity counts by type across source systems.
Figure 1. Bar chart example

Line chart

Use a line chart when to see how a metric changes over a period of time.

Example prompt: Show merge activity over the past 6 months.
Figure 2. Line chart example

Donut chart

Use a donut chart when to understand how a total is distributed across different categories.

Example prompt: Show the breakdown of match status across records.
Figure 3. Donut chart example

Gauge chart

Use a gauge chart to see how a single metric is performing against a defined target or threshold.

Example prompt: Show the current data quality score.
Figure 4. Gauge chart example

Graph chart

Use a graph chart to explore connections and relationships between entities.

Example prompt: Show the relationship map for Customer XYZ.
Figure 5. Graph chart example

Set overlap chart

Use a set overlap chart to understand how records are distributed across overlapping sets.

Example prompt: Show overlap across SAP, Oracle, and Salesforce source systems.
Figure 6. Set overlap chart example

Diagrams

AgentFlow displays diagrams such as relationship maps, flowcharts, and timelines to help you visualize connections and processes in a conversation.

Show supported diagram types

TypeDescription
flowchartShows a process, pipeline, or decision tree as a series of connected steps.
sequenceDiagramShows the step-by-step interactions between systems or components over time.
erDiagramShows a data model and the relationships between entities.
stateDiagram-v2Shows a state machine or lifecycle, including the transitions between states.
classDiagramShows the structure of objects or schemas and how they relate to each other.
mindmapShows a topic broken down into a hierarchy of related ideas.
ganttShows a project timeline as a schedule of tasks.
timelineShows a sequence of events in chronological order.
quadrantChartShows items plotted across two dimensions in a 2x2 matrix, useful for prioritization.
journeyShows the steps and experience a user goes through to complete a task.
sankeyShows how a quantity, such as data or flow volume, is distributed across categories.

Use the following controls to interact with a diagram:

  • Expand (): Opens the diagram in a full-screen view with pan and zoom controls.

  • Diagram () / Code (): Toggle the view between a rendered diagram (default view) and diagram code.

  • PNG (): Download the diagram as a PNG image.

  • SVG (): Download the diagram as an SVG image.

  • Copy (): Copy the diagram code to your clipboard.

Example prompt: Build a merge plan for all duplicate locations. Before you execute, show the workflow as a flowchart. Include the steps from duplicate detection through evaluation to merge execution.

Figure 7. Diagram example