Build directed graph with fluent syntax