---
title: "Value Widget"
component: "insights"
version: "4.3"
module: "widgets"
html_url: "/insights/4.3/widgets/single-value"
canonical_url: "https://www.tigergraph.com/docs/insights/4.3/widgets/single-value"
markdown_url: "https://www.tigergraph.com/docs/insights/4.3/widgets/single-value.md"
---

[View as HTML](https://www.tigergraph.com/docs/insights/4.3/widgets/single-value)

# Value Widget

The Value Widget displays values from your graph database.

## Inputs

Accepts data as vertices and edges.

## Widget window

Click **Value** Widget.

![Screen Shot 2024 03 05 at 10.57.02 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.57.02%20AM.png) 

![Screen Shot 2024 03 05 at 10.57.31 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.57.31%20AM.png) 

In the Display section on the right side of the window, there are detailed settings for adjusting the icon and text size, type, and color.

## Writing GSQL Statements

Insights supports human language like pattern search, as well as the powerful GSQL query language for more advanced users.

![Screen Shot 2024 03 05 at 10.58.11 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.58.11%20AM.png) 

### Use Pattern Search

![Screen Shot 2024 03 05 at 10.58.38 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.58.38%20AM.png) 

Figure 1\. Pattern Search Example 1

![Screen Shot 2024 03 05 at 10.58.55 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.58.55%20AM.png) 

Figure 2\. Pattern Search Example 2

![Screen Shot 2024 03 05 at 10.59.11 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.59.11%20AM.png) 

Figure 3\. Pattern Search Example 3

![Screen Shot 2024 03 05 at 10.59.27 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.59.27%20AM.png) 

Figure 4\. Pattern Search Example 4

### Use GSQL Language Search

![Screen Shot 2024 03 05 at 10.59.54 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2010.59.54%20AM.png) 

If there are multiple `PRINT` statements, users can map multiple print values：

```gsql
INTERPRET QUERY() FOR GRAPH MyGraph {
    PRINT "demo1";
    PRINT "demo2";
    PRINT "demo3";
}
```

![Screen Shot 2024 03 05 at 11.00.32 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2011.00.32%20AM.png) 

Figure 5\. Multiple `PRINT` Statement Example

If the multiple values are printed using `PRINT` and they include vertices or edges, only the value of the first attribute of the vertex or edge can be mapped.

```gsql
INTERPRET QUERY() FOR GRAPH MyGraph {
    start = {City.*};
    start = SELECT c FROM City:c;
    PRINT start;
    PRINT "demo1";
}
```

![Screen Shot 2024 03 05 at 11.00.56 AM](https://www.tigergraph.com/docs/insights/4.3/widgets/_images/Screen%20Shot%202024-03-05%20at%2011.00.56%20AM.png)
