# Public Diagrams

### Public Link

Share a public link with anyone on the web without the need for them to create an account.

![](/files/-LhnqVbOwJRXswTwCJn7)

:wrench: Check out the public link created in the example above (open in your Google Chrome Incognito Mode if you already have a Machinations account): <https://my.machinations.io/public/Patterns:-Builder-Simulator-Colour-Coded/0409c5a044af2a6ce440db24652ae06b9>

{% hint style="success" %}
**Anyone with the link will be able to:**

* [x] **Run the diagram (continuously or step-by-step)**&#x20;
* [x] **Choose what parameters to plot**
* [x] **Choose Chart type**&#x20;
* [x] **Navigate through the simulations**
* [x] **Clear Chart area**
* [x] **Add to My Machinations button (copies the diagram into your own account)**
  {% endhint %}

![](/files/-M7n3W4q65yFDaQv7zVp)

### Embed Diagram

Embed your diagrams anywhere on the web.

![](/files/-Lhnu195zz8CDTtrmcwT)

```
<iframe frameborder="0" width="100%" height="100%" src="https://my.machinations.io/public/Meta:-Spin-the-wheel/049a074df7bafffa89892e100cd9ff245" style="background-color: transparent; border-style: none; border-width: 0px; overflow: hidden;"></iframe>
```

{% embed url="<https://codepen.io/machinations/pen/KKPXMeO>" %}
Gitbook doesn't support iFrame yet, but we used Codepen to showcase how embed works. Run the Pen above. The Pen's height is not customisable, but your diagrams will look awesome on your blog, using iFrame ;)
{% endembed %}

{% hint style="success" %}
**Your website's visitors will be able to:**

* [x] **Run the diagram (continuously or step-by-step)**&#x20;
* [x] **Choose what parameters to plot**
* [x] **Choose Chart type**&#x20;
* [x] **Navigate through simulations**
* [x] **Clear Chart area**
* [x] **Add diagram to their Machinations account**
  {% endhint %}

Use embedded diagrams to get a comprehensive, interactive description of your game systems by adding them to your the team collaboration tool you're using.&#x20;

Check out the flow of adding a diagram to Confluence:

![](/files/-LnmEG3-faO204yXI1uL)

### Un-share content

If at any point you want to make your public content private again, go to`Share > Manage rights > Toggle off "Anyone with the link can view" > Save`

![](/files/-LhnvlwNTEaqRwOhe70g)


---

# 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://machinations.gitbook.io/docs/collaboration/public-diagrams.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.
