Construction of D-graphs with small cyclomatic numbers