group

fun group(insert: Boolean = true, id: String? = null, builder: CompositionDrawer.() -> Unit): GroupNode

Create a group node and run builder inside its context

Parameters

insert

if true the created group will be inserted at cursor

id

an optional identifier

builder

the function that is executed inside the group context