# `GSNode initWithArray:format:`

*Initializer*

Creates a node from a Glyphs file array representation.

## Declaration

```swift
init(array list: [Any], format formatVersion: GSFormatVersion)
```

```objc
- (instancetype) initWithArray:(NSArray *) list format:(GSFormatVersion) formatVersion;
```

```python
initWithArray_format_(list: list, formatVersion: GSFormatVersion) -> GSNode
```

## Parameters

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

## Discussion

> **Precondition**
> `formatVersion >= GSFormatVersion3`.

## See Also

### Creating a Node

- [`GSNode initWithPosition:type:connection:`](/Core/GlyphsCore/GSNode/initWithPosition:type:connection:) — Creates a node.
- [`GSNode initWithDict:format:`](/Core/GlyphsCore/GSNode/initWithDict:format:) — Creates a node from a Glyphs file dictionary 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.

