Layout

The Layout panel allows you to choose one of the following layout options:

  • Circle
  • Concentric
  • Force (default)
  • Grid
  • Hierarchical
  • Radial
  • Geographical

The layout configuration parameters may vary for different layouts.

Force Layout

The Force layout configuration parameters are described in the following table:

Attribute Description
Spacing Spacing determines how close different vertices are rendered next to each other. Default is 1.5.
Alpha Decay Controls the rate at which the simulation's internal alpha value, which influences node movement, decreases over time, gradually stabilizing the force layout. Default is 0.01.
Velocity Decay Determines how fast a simulation ends. Default is 0.1.
Edge Distance The simulation tries to set each edge to the specified length. This can affect the padding between vertices. Default is 100.
Vertex Charge Influences the underlying forces (for example, to remain within the viewport, to push vertices away from each other, and so on). If Enable Cluster is true, then it influences the forces among clusters. Default is -60.
Enable Cluster Switch on this toggle if you wish to enable cluster based layout.
Cluster By By default, the cluster layout (if enabled) uses the first element in vertex.labels to form the cluster. It can also be set to the property name of a vertex, and the clusters will be formed based on the property value.
Hide Unclustered Vertices Determines whether to display vertices that do not belong to any cluster. Default is false.

Circle, Concentric, and Radial Layouts

The following layouts require only the Spacing configuration:

  • Circle: Spacing sets the radius of the circle. Default is 2.
  • Concentric: Spacing sets the minimum spacing in between vertices. It is used for radius adjustment. Default is 2.
  • Radial: Spacing sets separation gap between neighboring vertices if they share the same parent vertex. If set to 0, then spacing will not be applied. Default is 2.

Grid Layout

The Grid layout supports the following configuration options:

  • Spacing: Spacing sets the space between elements in the grid. Default is 2.
  • Rows: Determines the number of rows in the grid.
  • Columns: Determines the number of columns in the grid.

The default number of rows and columns are dynamically calculated depending on the height and the width of the graph visualization panel.

Hierarchical Layout

The Hierarchical layout configuration parameters are described in the following table:

Attribute Description
Rank Direction Alignment of the ranked vertices.

Supported options are - Up to Left, Up to Right, Down to Left, Down to Right, Top to Bottom, Bottom to Top, Left to Right, Right to Left.

Ranker

Specifies the type of algorithm used to rank the vertices.

Supported algorithms are: Network Simplex, Tight Tree, and Longest Path.

Vertex Separation Sets the horizontal separation between the vertices.
Edge Separation Sets the horizontal separation between the edges.
Rank Separation Sets the separation between two ranks(levels) in the graph.

Geographical Layout

The Geographical layout configuration parameters are described in the following table:

Attribute Description
Map Type Select map type in map visualization or graph visualization settings, or provide your own sources and layers.
Longitude Specify the vertex property to use for determining the longitude of a vertex.
Latitude Specify the vertex property to use for determining the latitude of a vertex.
App ID Specify the appId to fetch maps from http://maps.oracle.com/elocation. If omitted, a generic appId will be used.
Show Information Enabling this toggle, displays an info box in the visualization that shows the latitude and longitude of the mouse position and the zoom level of the map.
Navigation Displays the navigation controls towards the top right region of the map.
Markers Displays location markers on the map

See Also:

Layouts page in Property Graph Visualization Developer's Guide and Reference