# `GSNode.GSNodeConnection`

*Enumeration*

The transition of a path through an on-curve node.

## Declaration

```swift
enum Connection
```

```objc
enum GSNodeConnection : uint8_t;
```

```python
GSNodeConnection
```

## Topics

### Enumeration Cases

- [`GSNodeConnection.GSNodeConnectionSharp`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSharp) — The incoming and outgoing path segments are independent.
- [`GSNodeConnection.GSNodeConnectionSmooth`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSmooth) — The incoming and outgoing path segments are required to meet at the same angle.
- [`GSNodeConnection.GSNodeConnectionSuperSmooth`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSuperSmooth) — The connection is adjusted for a more refined transition from the incoming to the outgoing path segment.

## See Also

### Connection

- [`GSNode.connection`](/Core/GlyphsCore/GSNode/connection) — The connection between the incoming and outgoing path segments.
- [`GSNode.isSmooth`](/Core/GlyphsCore/GSNode/isSmooth) — Convenience to simplify checking the connection.
- [`GSNode checkConnection`](/Core/GlyphsCore/GSNode/checkConnection) — Automatically sets the connection for the node depending on the angle of the incoming and outgoing path segments.
- [`GSNode toggleConnection:`](/Core/GlyphsCore/GSNode/toggleConnection:) — Toggles the connection type between [`GSNodeConnection.GSNodeConnectionSharp`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSharp) and [`GSNodeConnection.GSNodeConnectionSmooth`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSmooth).
- [`GSNode toggleConnection:superSmooth:`](/Core/GlyphsCore/GSNode/toggleConnection:superSmooth:) — Toggles the connection type between [`GSNodeConnection.GSNodeConnectionSharp`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSharp) and [`GSNodeConnection.GSNodeConnectionSmooth`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSmooth)/[`GSNodeConnection.GSNodeConnectionSuperSmooth`](/Core/GlyphsCore/GSNode/GSNodeConnection/GSNodeConnectionSuperSmooth).

