Introducing weighted-graph-generator adapter; replacing redundant `GraphBuilder` interface with `GraphGenerator` one