# GH_ConnectivityDiagram class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_ConnectivityDiagram
```

Represents a complete connectivity diagram (topology) of a GH_Document. A connectivity diagram is basically an undirected network of all the wires in a document.

## Constructors

- [GH_ConnectivityDiagram](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/ctor.md): (2 overloads) Create a duplicate of another Connectivity Diagram.

## Properties

- [NodeCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/nodecount.md): Gets the number of connectivity nodes in this diagram.
- [Nodes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/nodes.md): Gets a proxy for all the Nodes in this diagram.

## Indexers

- [Node](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/item.md): Get the connectivity node with the specified ID.

## Methods

- [ContainsID](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/containsid.md): Test the diagram for a given Node ID.
- [GetAllInputs](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/getallinputs.md): Get all the Nodes that are part of the specified node input.
- [GetAllOutputs](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-connectivitydiagram/getalloutputs.md): Get all the Nodes that are part of the specified node output.
