build

fun <T, W> build(builder: MutableGraph<T, W>.() -> Unit): MutableGraph<T, W>

Builds a new MutableGraph by applying builder to a fresh, empty instance.