winter / io.jentz.winter / GraphRegistry / open

open

@JvmStatic fun open(vararg path: Any, identifier: Any? = null, builderBlock: ComponentBuilderBlock? = null): Graph

Create a dependency graph by (sub-)component path and register it. Opened components will be children of each other in left to right order.

Parameters

path - The path of the (sub-)component to initialize.

identifier - An optional identifier to store the sub dependency graph under.

builderBlock - An optional ComponentBuilderBlock that's passed to the (sub-)component init method.