# `Figler.Scene.Graph.GUID`
[🔗](https://github.com/open-pencil/figler/blob/v0.1.0-beta.3/lib/figler/scene/graph/guid.ex#L1)

Internal GUID representation for Elixir graph resolution.

Public scene APIs expose GUIDs as strings like `"1:23"`. The graph resolver
keeps real Figma GUIDs as `{session_id, local_id}` tuples and synthetic clone
IDs as `{:clone, root_instance_guid, source_path}` tagged tuples.

# `clone_path`

```elixir
@type clone_path() :: [figma_guid()] | {clone_path(), figma_guid()}
```

# `figma_guid`

```elixir
@type figma_guid() :: {non_neg_integer(), non_neg_integer()}
```

# `graph_guid`

```elixir
@type graph_guid() :: figma_guid() | {:clone, figma_guid(), clone_path()}
```

# `append`

```elixir
@spec append(graph_guid(), graph_guid()) :: graph_guid()
```

Appends a source GUID or source clone path to a clone path.

# `clone`

```elixir
@spec clone(figma_guid(), figma_guid()) :: graph_guid()
```

Builds a synthetic clone graph GUID under a root instance.

# `format`

```elixir
@spec format(graph_guid() | nil) :: String.t() | nil
```

Formats an internal graph GUID for public scene APIs.

# `from_schema`

```elixir
@spec from_schema(Figler.Schema.GUID.t() | nil) :: figma_guid() | nil
```

Converts a generated schema GUID struct to an internal tuple.

# `parse`

```elixir
@spec parse(String.t() | graph_guid() | nil) :: graph_guid() | nil
```

Parses a public GUID string or returns an already parsed graph GUID.

# `parse!`

```elixir
@spec parse!(String.t() | graph_guid()) :: graph_guid()
```

Parses a public GUID string, raising when it is invalid.

# `root`

```elixir
@spec root(graph_guid()) :: figma_guid()
```

Returns the root instance GUID for graph GUIDs.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
