# `GSHobbyKnot knotsForNodes:fromIndex:toIndex:isClosedSection:isClosedPath:`

*Type Method*

## Declaration

```swift
class func knots(for nodes: [GSNode], from nodesStartIndex: Int, to nodesEndIndex: Int, isClosedSection closedSection: Bool, isClosedPath closedPath: Bool) -> [GSHobbyKnot]
```

```objc
+ (NSArray<GSHobbyKnot *> *) knotsForNodes:(NSArray<GSNode *> *) nodes fromIndex:(NSInteger) nodesStartIndex toIndex:(NSInteger) nodesEndIndex isClosedSection:(BOOL) closedSection isClosedPath:(BOOL) closedPath;
```

```python
knotsForNodes_fromIndex_toIndex_isClosedSection_isClosedPath_(nodes: list[GSNode], nodesStartIndex: int, nodesEndIndex: int, closedSection: bool, closedPath: bool) -> list[GSHobbyKnot]
```

