# GH_GraphContainer class

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

```cs
public class GH_GraphContainer : GH_ISerializable, IGH_ResponsiveObject
```

## Constructors

- [GH_GraphContainer](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/ctor.md): (2 overloads)

## Fields

- [m_graphpath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/m-graphpath.md)

## Properties

- [DisplayScale](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/displayscale.md): Gets or sets the display scale for this graph.
- [Graph](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/graph.md)
- [LockGrips](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/lockgrips.md)
- [Region](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/region.md)
- [X0](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/x0.md)
- [X1](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/x1.md)
- [Y0](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/y0.md)
- [Y1](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/y1.md)

## Methods

- [ClearCaches](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/clearcaches.md)
- [Duplicate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/duplicate.md)
- [FromX](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/fromx.md): Remaps a domain value onto the unit-domain
- [FromY](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/fromy.md): Remaps a domain value onto the unit-range
- [Internal_Render_Graph](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-graph.md)
- [Internal_Render_Grip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-grip.md)
- [Internal_Render_Grips](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-grips.md)
- [Internal_Render_HorizontalConstraint](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-horizontalconstraint.md)
- [Internal_Render_InvalidIcon](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-invalidicon.md)
- [Internal_Render_LockedIcon](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-lockedicon.md)
- [Internal_Render_TagGDIObjects](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-taggdiobjects.md)
- [Internal_Render_TagX](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-tagx.md)
- [Internal_Render_TagY](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-tagy.md)
- [Internal_Render_TextTag](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-texttag.md)
- [Internal_Render_VerticalConstraint](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/internal-render-verticalconstraint.md)
- [NearestGrip](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/nearestgrip.md): Returns the grip closest to the sample point.
- [OnGraphChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/ongraphchanged.md)
- [PrepareForUse](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/prepareforuse.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/read.md)
- [RemapPointsToGraphRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/remappointstographregion.md)
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render.md)
- [Render_GraphBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-graphbackground.md): (static) Renders the default Graph background.
- [Render_GraphGrid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-graphgrid.md): (static) Renders the default Grah grid. The default grid is a division od 10x10 cells along the graph region irregardless of domain ranges
- [Render_GraphPen](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-graphpen.md): Gets the default pen used to draw graph curves.
- [Render_GuidePen](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-guidepen.md): (static) Gets the default pen used to draw grip guides. The default pen is Red with a 2.0f/2.0f dash pattern. This function returns a NEW instance of that pen, it is safe to dispose it.
- [Render_HorizontalConstraint](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-horizontalconstraint.md): (static)
- [Render_VerticalConstraint](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/render-verticalconstraint.md): (static)
- [RespondToKeyDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtokeydown.md)
- [RespondToKeyUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtokeyup.md)
- [RespondToMouseDoubleClick](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtomousedoubleclick.md)
- [RespondToMouseDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtomousedown.md)
- [RespondToMouseMove](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtomousemove.md)
- [RespondToMouseUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/respondtomouseup.md)
- [SolveGraphPath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/solvegraphpath.md)
- [ToRegionBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/toregionbox.md): Remap a point in Unit box coordinates onto the Region box
- [ToRegionBox_x](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/toregionbox-x.md): Remap an x coordinate from the unit domain onto the region x domain
- [ToRegionBox_y](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/toregionbox-y.md): Remap an y coordinate from the unit domain onto the region y domain
- [ToUnitBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/tounitbox.md): Remap a point in Region coordinates onto the Unit box.
- [ToX](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/tox.md): Remaps a normalized value (0.0~1.0) onto the x-domain
- [ToY](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/toy.md): Remaps a normalized value (0.0~1.0) onto the y-range
- [TryValueAt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/tryvalueat.md): Attempts to evaluate a single parameter.
- [ValueAt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/valueat.md): Evaluates a single parameter.
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/write.md)

## Events

- [GraphChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.graphs.gh-graphcontainer/graphchanged.md): This event is raised whenever the underlying graph changes.
