Widgets

In TigerGraph Insights, widgets populate pages to provide easy-to-use graph visualizations for your data.

Widgets work similarly to query visualizers. After creating a widget, you create a query for it to display on your page and for users to interact with.

This page explains the types of widgets available to you with Insights and best practices for the use of each one.

Create a Widget

Each application page can have up to 20 widgets. Click on the + icon in the lower left corner of the page view to choose a new type of widget to add.

After creation, you can move and resize the widget appearance on your page.

Dynamic widget names

Widget names can be fixed or dynamic. Dynamic names are updated through a variable created by an Inputs Widget. If you have an Inputs Widget, you can store the input value as a variable that can later be referenced in a query in another widget, or even in the name itself.

See the Inputs Widget page for more.

Create and save a query

As you create a widget, you will be prompted to enter a query for it to visualize. Different data types lend themselves to different visualization formats (see Types of Widgets for more information).

Types of widgets

Graph Widget

Shows graph data as a connected network of vertices and edges that can be rearranged into any shape. Accepts data as vertices and edges.

Map Widget

Overlays graph data on a map. Accepts data as vertices and edges as long as each one has a numeric attribute to be interpreted as latitude and longitude.

Table Widget

Displays vertices as a relational table, similar to a spreadsheet. Supports any input data format.

Value Widget

Displays the first attribute of the first vertex or edge in a query result. Ideal for displaying total counts or other summary values from a query.

Markdown Widget

Empowering users to incorporate formatted text, links, images, and diverse content to enrich the dashboard experience.

Line Chart Widget

Displays a standard line chart. Accepts data as vertices and edges or a list of objects that contain at least one numeric attribute.

Bar Chart Widget

Displays a standard bar chart. Accepts data as vertices and edges or a list of objects that contain at least one numeric attribute.

Pie Chart Widget

Displays a standard pie chart. Accepts data as vertices and edges or a list of objects that contain at least one numeric attribute.

Sankey Chart Widget

Displays a Sankey chart, ideal for displaying flow from one set of values to another. Accepts data as vertices and edges.

Scatter Chart Widget

Provides a visual representation of the relationship between two numerical variables, allowing users to identify patterns or correlations in the data.

Inputs Widget

An interactive widget that takes user input and stores it as a variable that can then be used in queries in other widgets. Supports any input data format.

Save a widget

To save a widget separately from an application or page, click the Save button.