@loopback/docs
Version:
Documentation for LoopBack 4
32 lines (21 loc) • 965 B
Markdown
lang: en
title: 'API docs: context-explorer.contextgraph._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/context-explorer
permalink: /doc/en/lb4/apidocs.context-explorer.contextgraph._constructor_.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) > [(constructor)](./context-explorer.contextgraph._constructor_.md)
## ContextGraph.(constructor)
Constructs a new instance of the `ContextGraph` class
<b>Signature:</b>
```typescript
constructor(ctx: JSONObject, options?: ContextGraphOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| ctx | <code>JSONObject</code> | |
| options | <code>ContextGraphOptions</code> | |