@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
93 lines (46 loc) • 1.43 kB
Markdown
---
lang: en
title: 'API docs: context-explorer.contextgraph.renderbinding'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/context-explorer
permalink: /doc/en/lb4/apidocs.context-explorer.contextgraph.renderbinding.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context-explorer](./context-explorer.md) > [ContextGraph](./context-explorer.contextgraph.md) > [renderBinding](./context-explorer.contextgraph.renderbinding.md)
## ContextGraph.renderBinding() method
Render a binding object
**Signature:**
```typescript
protected renderBinding(parent: ICluster, input: ContextBinding): INode;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
parent
</td><td markdown="1">
ICluster
</td><td markdown="1">
Parent subgraph
</td></tr>
<tr><td markdown="1">
{ binding, id }
</td><td markdown="1">
(not declared)
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
input
</td><td markdown="1">
[ContextBinding](./context-explorer.contextbinding.md)
</td><td markdown="1">
</td></tr>
</tbody></table>
**Returns:**
INode