winter / io.jentz.winter / Component / createGraph

createGraph

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

Create a object graph from this component.

Parameters

application - The WinterApplication to use.

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

Return
An instance of Graph backed by this component.