# `GSNode initWithDict:format:`

*Initializer*

Creates a node from a Glyphs file dictionary representation.

## Declaration

```swift
init(dict: [String : Any], format formatVersion: GSFormatVersion)
```

```objc
- (instancetype) initWithDict:(NSDictionary<NSString *,id> *) dict format:(GSFormatVersion) formatVersion;
```

```python
initWithDict_format_(dict: dict[str, object], formatVersion: GSFormatVersion) -> GSNode
```

## Parameters

- `formatVersion` — The Glyphs file format version used to interpret the representation.

## See Also

### Creating a Node

- [`GSNode initWithPosition:type:connection:`](/Core/GlyphsCore/GSNode/initWithPosition:type:connection:) — Creates a node.
- [`GSNode initWithArray:format:`](/Core/GlyphsCore/GSNode/initWithArray:format:) — Creates a node from a Glyphs file array representation.
- [`GSNode initWithElementString:`](/Core/GlyphsCore/GSNode/initWithElementString:) — Creates a node from a Glyphs file element string representation.
- [`GSNode initWithGlyphsParser:format:`](/Core/GlyphsCore/GSNode/initWithGlyphsParser:format:) — Creates a node from the Glyphs file representation at the current parser position.

