Define the Data to Show
-
In the Properties panel, go to
Data.
-
Select a Query that is either a data query or a data fusion, previously defined in the
Queries menu.
-
If you have selected a data query, also select a Result
Set.
Define the Nodes to Show on the UI
The graph view visualization first shows what the data query returns. When you
expand a node, it runs the query again with a parameter (typically uri), to
get the objects linked to the expanded node.
For this visualization, you must therefore define the links between the nodes in the data
query.
Before you begin: Specify one result set in the
Data > Result set section.
- In the Properties panel, go to Data.
-
In the Data sections, configure the display of
root nodes and related nodes.
| Option | Description |
|---|
| Target Studio variable |
Specify the variable that the visualization uses to create the first node.
|
| Node identifier |
Select the field to use for the node identifier. |
| Node text content |
Select the field to use for the node content. The filter menu shows the values
of this field.

|
| Node icon content |
Select the icons to map with the nodes. Select a
Field and from Mapping, map an
icon with each node. For example, if the select Field is
country, you can map United Kingdom with an icon, United States
with another icon... Note:
The Mapping section does not
list the nodes that you cannot see in the current view. To make sure that other
nodes are mapped to an icon, define them in the Additional
mapping section.
|
| Node Label |
Select the field to use for the node label. |
| Direction |
Select a field from your Result Set that gives the direction that the node
must follow. The direction can be:
- directed: A B
- reversed: A B
- bidirected: A B
- none: A B
|
| Color for Nodes |
Associate fields with colors either automatically through the
Palette option or manually. |
| Maximum nodes limit |
Specify the maximum number of related nodes to show when you select or
expand a node. When the number of
related nodes exceeds this limit, the related node indicates the number of remaining
nodes. |
| Filter dimension |
Select the Field to use as filter when you click
in the upper-right corner of
the visualization. Unselected nodes are grayed out. In the following example, the
selected field is country.
You can override the field label by specifying your own
Label. In the following example, the Label is
countries.
Note:
To localize this text in other languages, click , and select a translation key. You define keys and translation values in the Translation menu.

|
| More information panel |
Specify the fields to show in the node card (which appears when you click a
node) after clicking
See more info, and when you hover over a node. For more
information about the configuration, see Configure the More Information Panel.

|
Result:

Configure the More Information Panel
If you click from
More Information Panel, you can then configure the following
options.
-
Configure the following options:
| Option | Description |
|---|
| Label |
Select a label for this element.
Note:
To localize this text in other languages, click , and select a translation key. You define keys and translation values in the Translation menu.
|
| Items |
Configure the fields to show as items in the content of this element.
|
| Horizontal alignment |
Select how to align the selected item values horizontally.
|
| More options |
Use these options to configure the display of the Label
format.
You can define a Font style (bold, italics, underlined),
select Customize font size to specify a size, select a
Label color, select a Background
color, and add Conditions for the display of items.
|
-
In , select how to show the field information. For example, with text, icon,
line breaks, button ...
- Optional:
Click More options.
Define the Value Colors
You can define the colors to apply on nodes depending on the values of a selected
field.
- In the Properties panel, go to Data.
-
In the Colors section, select the colors to apply to the
field values.
| Option | Description |
|---|
| Type | Select how you want to configure the color mapping that is By dimension or
By measure. |
|---|
| Mapping |
Specify how to map field values with colors:
- Manual: To select one or more colors manually.
This is the default color mode associated with all field values.
To
specify several colors, select
Customize.
- Global Palette: To use the global color palette
that is common to all visualizations. It associates field values with
colors automatically.
To override the automatic color mapping, select
Customize.
Note:
There is a limit in the number of colors available. Data Perspective Studio reuses the same colors when the number of values crosses this limit.
|
| Customize |
Use this option to search for values and customize their colors. There is a limit to this customization, which blocks the option when there are more than 100 values.
|
|---|
| Additional mapping |
Use this option to define conditions to apply colors. To do so, define a
Comparator and an associated
Value. If values comply with the condition
defined with the comparator, the visualization applies the color.
For example, you can define to associate a color when the value is inferior
(<) to the expected value.
matches: Uses this property to specify a regular
expression to choose the color or the icon to apply, depending on the value
for the selected field.
|
| Splitting strategy | If the Type is By measure, you can use this option to split the color scale into intervals. There are 2 splitting strategies: Gradient: Split the color scale into N gradient colors. Discrete: Split the color scale into N discrete intermediate colors. |
|---|
Note:
There are priorities if you define several colors for the same field value. Manual customizations first, then colors defined for additional mapping, and at last, the default color.
Configure the Display
You can configure the display using several options.
-
In the Properties panel, go to Display.
- From Display type, define the display type of the visualization between Card and No card.
The Card type applies the Cards configuration defined for the applied page theme in the menu.
-
In Title, specify the visualization title.
| Option | Description |
|---|
| Static value | To enter a static textual value. |
|---|
| Translatable value | To localize the title or label in other languages, you can select a translation key. You
define keys and translation values in the
Translation menu. |
|---|
| Expression
value |
To configure a dynamic title or label, you can enter an expression based on
the expression language. In your expression, you can use a
Variable with VARIABLES.<variable name>
and a
Translation key with I18N.<translation key
name>.
For example, you can make a dynamic title like Number of cars sold in
{{country}}, where the title string is associated with the
myKey translation key, and {{country}}
is a variable: I18N.myKey.replace("{{country}}",
VARIABLES.country)
If the variable value is France, you get Number
of cars sold in France if English is the preferred language,
Nombre de voitures vendues en France if French is the
preferred language...
You can also use Aggregations coming from the
RESULT SET of your data query.
Example 1: You can configure a count in the title to get Number of
cars: <count value>. In the RESULT
SET, from the Aggregations section,
define a count_aggr aggregation with Count
as function aggregation.

In the visualization, use the count_aggr aggregation in the
Expression value: "Number of cars: " +
cars.count_aggr Example 2: You can configure the title to
display Car sales in: <set of country values>. In the
RESULT SET, from the
Aggregations section, define a
countries_aggr aggregation with To Set
as function aggregation.
In the visualization, use the countries_aggr aggregation in
the
Expression value: "Car sales in: " +
cars.countries_aggr.joinToString(separator: ", ", limit: 3) to
display a title like Car sales in: Belgium, Denmark,
England...
|
- Optional:
Select Hide header, if you want to show the
visualization without header (this hides the Title, the
icon if the visualization can show one in the header, and the
Actions menu).
- Optional: Select Minimizable to add a Minimize option in the Actions menu, allowing users to collapse the visualization.
You can also select Minimized by default if you want the default display to show a collapsed view of the visualization. -
Select Show information in card to show the information card
when you click a node.

Add a Condition to Show the Visualization
You can add conditions to show or hide visualizations. This is useful to choose
whether to reveal or hide information, depending on a variable value or a user role.
You can also add conditions on home page
buttons, menu sections, and subsections.
Note:
If you add several conditions on the same visual element, Data Perspective Studio interprets them implicitly with OR operators (for example,
condition1 or condition2).
-
In the Properties panel, go to Display.
-
In the Conditional display section, click to add a Condition.
-
For Select item to compare, choose one of the following
options on the right of the field:
| Option | Description |
|---|
| Variable
value |
Use this option to select the variable that stores the condition values. For
example, select a variable called myvar with an
Initial value set to 5.
The supported types of variables are:
-
String
-
Integer
-
Float
-
Boolean
-
List for any of the above types.
|
| User roles |
Use this option to verify that the user has the role defined in Value.
|
-
For Comparator, select the condition comparator.
- If you selected
Variable value, you can choose between several operators. For
example, select <= if you want the condition to apply only
if the field value is lower or equal to the condition value.
- If you selected
User roles, you can choose between
contains or does not contain.
-
For Value, specify the condition value.
- If you selected
Variable value, specify a value corresponding to the variable
type.
For example, if the variable initial value 5 is
<= to the condition value 6,
the visualization is visible.

- If you selected
User roles, enter a role trigram.
For example, if the user roles contain AEP (trigram for the Data Viewer
(AEP)
role), the Data Perspective is visible to all users having the Data Viewer
(AEP)
role.
Add On-click Actions
You can specify actions to show in the node details card of the Graph view
visualization. These actions display next to the icon (see the
icon in the previous screenshot).
-
In the Properties panel, go to
Actions.
-
Click to add a new effect.
-
Select the effect Behavior.
| Option | Description |
|---|
| Navigate to |
You can choose between the following modes:
-
Page (default mode): Select the destination page
to open when you click an object. The target is the destination page
where the user goes after clicking an object. For example, for a
visualization showing risks, clicking a risk could redirect the user to
a details page.
-
Static URL: Enter the link to the target page.
Links open a new browser tab and there is no limitation on the URL (for
example, it can be an external link to a PDF file).
-
String variable: Select a string variable
containing the URL to open. You define the URL in the Initial
value field of the variable, for example,
www.example.com.
|
| Filter |
Filters page data with the content dropped on the page. Information
source: Specify the field to filter data. Filter
scope: Select a filter scope defined in . By default, the general scope is selected to filter all visualizations,
even if you have not defined a specific filter scope. |
| Set variable |
Specify the variable that stores the data.
Target studio variable: Select the data query variable where Data Perspective Studio stores source data.
|
Add a Drag Button in the Detail Panel
You can add a drag button in
the detail panel for users to drop objects in another 3DEXPERIENCE platform widget.
-
Select Add drag button in the detail panel.
-
For 3DEXPERIENCE Service, select the variable, which contains
the id of the 3DEXPERIENCE Service from which the data comes. By default, it uses 3DSpace.
Result:

Override the Applied Theme with a Specific Style
You can override the theme applied to all Data Workspace pages and visualizations with a specific style defining different display
settings.
Before you begin: You have defined a style in .
- In the Properties panel, go to Style.
- Select the style to apply to the visualization.
|