# `GSNode initWithElementString:`

*Initializer*

Creates a node from a Glyphs file element string representation.

## Declaration

```swift
init(elementString: String)
```

```objc
- (instancetype) initWithElementString:(NSString *) elementString;
```

```python
initWithElementString_(elementString: str) -> GSNode
```

## 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 initWithDict:format:`](/Core/GlyphsCore/GSNode/initWithDict:format:) — Creates a node from a Glyphs file dictionary representation.
- [`GSNode initWithGlyphsParser:format:`](/Core/GlyphsCore/GSNode/initWithGlyphsParser:format:) — Creates a node from the Glyphs file representation at the current parser position.

