# `GSLayer checkConnections`

*Instance Method*

Updates node connections to match the geometry of their paths.

## Declaration

```swift
func checkConnections()
```

```objc
- (void) checkConnections;
```

```python
checkConnections()
```

## See Also

### Cleaning Paths

- [`GSLayer cleanUpPaths`](/Core/GlyphsCore/GSLayer/cleanUpPaths) — Removes empty and negligible paths and simplifies the remaining paths.
- [`GSLayer correctPathDirection`](/Core/GlyphsCore/GSLayer/correctPathDirection) — Sets closed path directions according to containment and puts the outer path first.
- [`GSLayer checkForCoincidentPaths`](/Core/GlyphsCore/GSLayer/checkForCoincidentPaths) — Finds paths whose nodes have coincident positions.

