# hostingOf

Canonical: https://docs.shumoku.dev/en/library/api/hostingOf
Language: en

@shumoku/core · 0.6.1 · function

# hostingOf

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/hosting.ts#L36)

What is drawn inside what. A guest goes in with what it runs on unless it names another place; one that names the place its host stands in still goes in, as a source such as NetBox gives each VM its site. A guest's guest (a container on a VM) goes in the outermost host's box.

```
hostingOf(network: Network): Hosting
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `network` | `Network` | No additional description. | `—` |

## Returns

```
Hosting
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/hosting.ts:36`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/drawing/hosting.ts#L36)
