abstract fun createGraph(instance: Any, block: ComponentBuilderBlock?): Graph
Create dependency graph for instance.
The adapter implementation is responsible for storing the created graph.
instance
- The instance to create a dependency graph for.
block
- An optional builder block to pass to the component createGraph method.
io.jentz.winter.WinterException
- if given instance type is not supported.
Return
The newly created graph