# Work with graphs

> Read and act on the knowledge graphs of OpenCTI containers, investigations and entities, with focus, layouts, filters, selection and image export.

- URL: https://filigran.io/docs/lts/7.260811-lts/opencti/use/analyze/graphs/
- Products: OpenCTI 7.260811.0-lts.1
- OpenCTI line: 7.260811 LTS · 7.260811.0-lts.1
- For: CTI analysts
- Type: How-to guide

OpenCTI draws knowledge as a graph wherever connections matter more than lists: who uses what, who targets whom, and how sure the sources are. This page shows you how to read a graph, find what you need in it and act on its elements, whichever surface you open it from.

## Where you find graphs {#where-you-find-graphs}

| Surface | What it draws |
| --- | --- |
| **Knowledge** tab of a container (report, grouping, case), **Graph** view | The entities and relationships the container holds |
| **Knowledge** tab of a container, **Correlation view** | The observables and indicators of the container, linked to the other containers that share them |
| An investigation, in **Investigations** | The entities you add and expand, see [Pivot and investigate](https://filigran.io/docs/lts/7.260811-lts/opencti/use/analyze/pivot/) |
| **Analyses** tab of an entity, graph view | The containers the entity appears in, with the objects they share |
| An inferred relationship | A fixed drawing of the rule that produced it, see [How OpenCTI infers new relationships](https://filigran.io/docs/lts/7.260811-lts/opencti/use/enrich/inferences/) |

All of them draw nodes, links and states the same way. The inferred relationship drawing is read-only: it has no toolbar, legend or menu.

## Before you start {#before-you-start}

- Your role has the **Access knowledge** capability.
- To add or remove elements, it also needs **Create / Update knowledge**. To export an image, **Can use web interface export functions (PDF, PNG, etc.)**.

*(OpenCTI before 7.261030)*

## Use the graph {#use-the-graph}

The toolbar at the bottom of the graph holds the view and editing tools:

- **Fit graph to canvas**, **Enable 3D mode**, and **Enable vertical tree mode** or **Enable horizontal tree mode** to change how the graph is laid out.
- **Filter entity types**, **Filter marking definitions** and **Display time range selector** to narrow the drawing.
- **Select by entity type** and **Select all nodes** to select, then the buttons on the right to add entities, create a relationship, a nested relationship or a sighting, edit or remove the selection.

Inferred relationships are drawn with dotted lines of a different color. Click an entity to see its details in the side panel, and double-click it in an investigation to expand it. The header of the page exports the graph as an image or a PDF.

**Example: Show only the threats and their victims**

You present the report "Velvet Harbor targets hotel booking systems" to the security leads of a hotel group, who care about who attacks and whom, not about techniques. Open the report, then its **Knowledge** tab, **Graph** view. Click **Filter entity types** and clear **Attack Pattern**, **IPv4 address**, **Domain name** and **Indicator**. The graph keeps Velvet Harbor, its malware, and the sector and countries it targets. Click **Enable horizontal tree mode** to read it from left to right, then export it from the page header.

## What's next {#what-s-next}

- [Pivot and investigate](https://filigran.io/docs/lts/7.260811-lts/opencti/use/analyze/pivot/) from any entity with the investigation graph.
- [Explore analysis](https://filigran.io/docs/lts/7.260811-lts/opencti/use/explore/analysis/), where the graph and correlation views of containers live.
- [How OpenCTI infers new relationships](https://filigran.io/docs/lts/7.260811-lts/opencti/use/enrich/inferences/), to understand dashed links and the wand badge.
