> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/graphic-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/graphic-plus/components/data/shape-data.md).

# Shape Data

Add data to a Shape.

## Description

Optionally override Id and add a series of data items to a Shape.

{% tabs %}
{% tab title="Preview" %}
![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FYMvDomr017MsdJDynvia%2FGraphicPlus_Comp_Data.png?alt=media\&token=7ed348c7-74fd-4a5b-8e56-1265c906ba03)
{% endtab %}

{% tab title="Location" %}
**Name** | Shape Data

**Nickname** | Data

**Tab** | Display

**Panel** | Graphics

**Division** | 3
{% endtab %}

{% tab title="Inputs" %}
**S** | **Shape / Geometry** (*G+Shape, Curve, Brep, Mesh*) | A Shape, or a Curve, Brep, Mesh

**K** | **Keys** (*Text*) | A list of titles to be added to the SVG element as data-'key'

**V** | **Values** (*Text*) | The values coordinated with the titles to attach to the element
{% endtab %}

{% tab title="Ouputs" %}
**S** | **Shape** (*G+ Shape*) | A Graphic Plus Shape Object

{% endtab %}

{% tab title="Mode" %}
​![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FthP76ws6Ip5Cd0wJqiMC%2Fimage.png?alt=media\&token=26936339-35a1-4f1d-92fc-fff3d12345c6)

​**Save Image** | Opens a file save dialog to save a raster image file of the current drawing.

**Save SVG** | Opens a file save dialog to save a*n* SVG vector file of the current drawing.
{% endtab %}
{% endtabs %}

## Usage

![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FGrP8dMnJQZCh0pTjkdpH%2FData.gif?alt=media\&token=8cec3632-b59c-47e4-80c3-41a533f4639a)
