@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
36 lines (23 loc) • 1.06 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
<b>Signature:</b>
```typescript
protected renderBinding(parent: ICluster, { binding, id }: ContextBinding): INode;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| parent | ICluster | Parent subgraph |
| { binding, id } | [ContextBinding](./context-explorer.contextbinding.md) | |
<b>Returns:</b>
INode