createGraph

fun createGraph(application: WinterApplication = Winter, block: ComponentBuilderBlock? = null): Graph(source)

Create a object graph from this component.

Return

An instance of Graph backed by this component.

Parameters

application

The WinterApplication to use.

block

An optional builder block to extend the component before creating the graph.