# NetGraph

<figure><img src="/files/lzxTnk2GtzLUKxijDfJm" alt=""><figcaption><p>Image preview of netgraph on a connected client.</p></figcaption></figure>

## How to use:

1. Locate prefab - Mirror/Components/Profiling/Prefabs/GraphCanvas
2. Drag prefab into scene, and setup toggle key to activate. (or hook upto your own canvas UI buttons if desired.)
3. Start editor, press your hotkey, play game, see stats in realtime.

<figure><img src="/files/DrHq9UrCxSt4yGgYFp7U" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/dKc67NK7niqZKTCHSpVz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iAJQYkJdcIkrKMELzm6M" alt=""><figcaption></figcaption></figure>

## Customisability:

You can drag individual graph prefabs into your existing game canvas's, and adjust their UI and variables to your liking.

<figure><img src="/files/JHiHf5tRahSYT0G1X8ud" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mirror-networking.gitbook.io/docs/manual/general/netgraph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
