---
title: ComputeNodeGraph.PortDefinition
framework: Compute Graph
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/portdefinition
---

# ComputeNodeGraph.PortDefinition

## Declaration

```swift
struct PortDefinition
```

## Topics

### Initializers

- [init(name:kind:type:options:)](computegraph/computenodegraph/portdefinition/init(name:kind:type:options:).md)

### Instance Properties

- [kind](computegraph/computenodegraph/portdefinition/kind.md)
- [name](computegraph/computenodegraph/portdefinition/name.md)
- [options](computegraph/computenodegraph/portdefinition/options.md)
- [type](computegraph/computenodegraph/portdefinition/type.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
