Settings

You can apply different graph settings such as switching layouts, grouping edges, or showing the evolution of the graph entities based on a property using the Settings attribute in the Property Editor of the Page Designer.

  1. Select the graph visualization component in the Rendering tab on the left pane of the Page Designer.
  2. Select Attributes in the Property Editor on the right pane of the Page Designer.
  3. Enter the input for the desired action in JSON format in the Settings input box in the Settings panel.
    See settings in Oracle Graph JavaScript API Reference for Property Graph Visualization for more information on the Settings interface.

    For instance, the following JSON example provides the layout and pageSize configurations:

    { 
    "pageSize": 10,
    "layout": "concentric"
    }

    Note:

    If the JSON input contains the settings for properties that are already set in the Appearance panel (such as Layout or Group Edges) or Settings panel (Page Size), then the property values that are provided directly will override the JSON values.

    The following JSON example shows a sample configuration for adding network evolution to the graph visualization. The evolution of the graph data is based on the HireDate property:

    {
        "evolution": {
            "chart": "line",
            "unit": "year",
            "vertex": "properties.HireDate"
        }
    }