Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 897 Bytes

graph.md

File metadata and controls

34 lines (23 loc) · 897 Bytes

graph object

A graph object represents a directed graph, a network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).

=== ":simple-uml: Graph"

![graph object](../assets/images/reference-graph.graphviz.svg)

=== ":octicons-file-code-16: sarif.json"

> [!TIP]
>
> Generated with following command : `php ./resources/serialize.php graph docs/assets/sarif 192`

```json title="docs/assets/sarif/graph.json"
--8<-- "docs/assets/sarif/graph.json"
```

=== ":simple-php: Simple API"

```php title="examples/graph.php"
--8<-- "examples/graph.php"
```

=== ":simple-php: Fluent Builder API"

> [!NOTE]
> This alternative API is available since release 1.5.0

```php title="examples/builder/graph.php"
--8<-- "examples/builder/graph.php"
```