TIBCO EBX®
Graph View Add-on Documentation > User Guide
Navigation modeGraph View Add-on Documentation > User Guide

Configuring the add-on

Example configurations

This section describes how to configure the add-on for initial use. The following examples take broad strokes and show a general use case. However, you can build on these principals to take a more methodical approach when configuring the add-on for your specific needs.

See the 'Graph configuration domain' reference section for descriptions of the properties that provide a fine grained control over how your data displays and what data specific users can see and query.

As shown below, all configuration settings for the add-on are located under the 'Administration' tab > 'TIBCO EBX® Graph View Add-on' dataset.

/admin_area.png

Registering tables with the add-on

By registering a table with the add-on you allow that table to display in the Graph View. The following steps describe how to register a set of tables with the add-on:

You can now display the table(s) you registered in the Graph View.

/register_sales_tables.png

Managing user access to the Graph View

You may want to limit user access to the Graph View, or allow a set of users limited functionality when it comes to manipulating the Graph View. These settings are available in the 'Graph configuration' domain's 'Graph' table.

The records here contain many settings that inherit their value from a graph template. These settings deal with both Graph View appearance and user access to tables registered with the add-on. This section only outlines configuration options related to user access. For information pertaining to graph templates that define default look, feel and other behavior, see 'Customizing Graph View display and behavior templates'.

The record properties listed below the 'Graph template' drop-down list inherit their default value from a graph template located in the 'Graph template' table. Each property's inheritance can be overwritten or re-instated by toggling the small icon between a property's name and its value. This provides two places where you can edit property values—at this level and at the 'Graph template' level.

Note: You can prefabricate graph templates that cover the basic scope of your organization's needs. The templates are readily accessible via the 'Graph template' drop-down list, or you can quickly override a property or two-from an existing template-that helps you meet a certain requirement.

The following example makes use of a default graph template included with the add-on:

This list populates with names of records created in the 'Table' table. Each of these records contains tables registered with the add-on. When the list of tables is extensive, it can be helpful to use the 'Selector' option to display a tabular view of registered tables. You can then use filtering criteria and search options to find and select the desired table.

/graph_config_settings.png

Customizing Graph View display behavior with templates

This section describes how to use a graph template to define a custom look and feel for the Graph View, as well as, set properties that can affect performance. Once a template has been completed and saved, it will be available for selection in the 'Graph template' drop-down list.

The following steps focus on a few properties. For a description of all properties, see the 'Graph template' table section.

/graph_template_2.png

Using images to represent graph nodes

You can further customize the Graph View by using images to represent table and record nodes. Using different configurations you can:

Image configuration options are available in the TIBCO EBX® 'Administration' tab → 'TIBCO EBX® Graph View Add-on' domain. However, for image storage, you will need a system folder that EBX® can access. This task may require a system administrator.

The points below are covered in detail in the following sections and outline the basic steps to represent nodes with images:

Uploading images

Before uploading an image, a dedicated folder must be in a location accessible by EBX®. A system administrator may need to complete this task. Once the folder is available, complete the following steps to upload images:

/image_upload_folder.png

/upload_image_service.png

The next section describes how to use an image to represent all nodes in a 'Graph configuration'.

Customizing a 'Graph configuration' to use an image

The 'Reference data' domain's 'Node layout' table stores configuration settings that allow you to customize node display. Using this table, you can specify a node's frame, size, shape and color. Note: In order to complete the steps in this section, images need to be uploaded to a folder accessible by EBX®.

The following steps outline how to use an image to represent all nodes in a graph configuration:

/image_node_layout.png

/graph_config_image.png

As shown in the image below, when you open tables in the graph view that use this graph configuration, all nodes will display as the specified image. Keep in mind that node layout configuration settings can be changed in 'Graph templates' and any graph configurations using templates inherit the node layout settings.

/table_node_display_0.png

Customizing individual node display

You can customize the display of each node independently. For example, you can use a specific icon to represent a 'Client' table and use a profile picture to represent each record contained in the 'Client' table.

To display each table record as a different image, the record has to contain a field that specifies an accessible path to an image. Also, the field type must be set to URI. This behavior enables you to use locations other than the folder used to upload images. Keep in mind that the value set in the 'Image configuration' table's 'Max. upload size (KB)' property also applies to the images used to display records. So, if the images referenced for record display exceed this value, they will display as a colored rectangle. Additionally, if it takes longer to load an image than the timeout threshold specified in the 'Image configuration' table, the records display as a colored rectangle.

The following steps outline independent node display:

/table_node_display_1.png

/table_node_display_2.png

/table_node_display_3.png

The following image shows an example of how the graph looks when you create a table layout configuration for each table.

/table_node_display_4.png

The above selections have covered general configuration guidelines. The next section in this document describes how you can query data when in the Graph View.