Page Contents

Home > @loopback/context-explorer > ContextGraph

ContextGraph class

A graph for context hierarchy


export declare class ContextGraph 


Constructor Modifiers Description
(constructor)(ctx, options)   Constructs a new instance of the ContextGraph class


Method Modifiers Description
build()   Build a direct graph
render()   Render the context graph in graphviz dot format
renderBinding(parent, { binding, id }) protected Render a binding object
renderConfig(parent, { binding, level, id }) protected Create an edge for a binding to its configuration