Skip to content

Interactive Graph

For very large knowledge graphs, you have the option to use a interactive grpah mode. This mode intelligently displays only the terms and relations that are currently relevant to your exploration.

You can activate this mode by navigating to Tools > Explore Relations > Static Layout/Dynamic Layout.

Selecting What to Display

Once you've selected "Dynamic Layout," the entire graph will initially be hidden. You will see a search bar appear at the top, accompanied by several control icons.

alt text

  • Refresh: Redraws the currently visible terms and relations using the selected layout algorithm. This can be useful if the layout becomes cluttered or after making changes.
  • Eraser: Hides all currently displayed elements (terms and relations) in the graph, giving you a clean slate to start a new exploration.
  • Settings: Opens a configuration panel where you can choose the algorithm used to automatically arrange the visible terms and relations (e.g., Force-Directed, Hierarchical).
  • Close: Exits the interactive graph mode and returns to displaying the entire static graph.
  • Search box: Allows you to search for specific terms by name. When you find and select a term, it will be added to the dynamic graph, along with all terms and relations that are directly connected to it.

Expanding the Graph

The following example uses the FIBO (Financial Industry Business Ontology) dataset, which you can load via File > Load Examples > FIBO. In this example, the dynamic positioning setting is enabled, and the layout type is set to "Hierarchy" with the direction "Bottom to Top."

After you've added your initial term to the graph using the search box, you can continue to add more related terms by searching again.

Additionally, you can interact directly with the terms already displayed in the graph to expand their connections, as shown in the following image. Right-clicking on a term will open a context menu with expansion options.

Expand Options

alt text

Each term in the dynamic graph has a subtle background color that provides a visual cue about potential further exploration:

  • No background: This indicates that all direct relations connected to this term are currently visible in the graph; there are no more direct relations to expand.
  • Purple background: This signifies that there are both hidden incoming and hidden outgoing relations connected to this term that can be expanded.
  • Green background: This indicates that there are hidden incoming relations connected to this term that can be expanded.
  • Orange background: This indicates that there are hidden outgoing relations connected to this term that can be expanded.

Right-clicking on a term will bring up the following context menu options:

  • Expand Outgoers and Incomers: Displays all terms and relations that are directly connected to the selected term, both those pointing away from it (outgoers) and those pointing towards it (incomers).
  • Expand Outgoers: Displays only the terms and relations where the selected term is the source (outgoing relations).
  • Expand Outgoers - Recursive: Displays all outgoing relations and connected terms, and then repeats this expansion process for each newly added term. This allows you to explore chains of outgoing relations.
  • Expand Incomers: Displays only the terms and relations where the selected term is the target (incoming relations).
  • Expand Incomers - Recursive: Similar to "Expand Outgoers - Recursive," but expands along incoming relations.
  • Collapse: Hides the selected term and all the terms and relations that are directly connected to it.
  • Collapse incomers - Recursive: Hides the selected term and all terms and relations connected by incoming relations, and then recursively collapses further incoming connections.
  • Collapse outgoers - Recursive: Hides the selected term and all terms and relations connected by outgoing relations, and then recursively collapses further outgoing connections.
  • Pop out description: Opens a small, separate window displaying the definition or description of the selected term, which can be useful for quickly understanding the term's meaning without navigating away from the graph.

Relation Filtering

alt text

You have the ability to filter the displayed relations in the dynamic graph based on their type. For example, if you are primarily interested in hierarchical relationships, you can choose to display only "Generalization" relations. To enable and configure this filtering, go to Settings > DOCUMENT > Relations types legend. This will allow you to select which relation types are visible in the graph legend, and consequently, which types are displayed.