rewire d3 tip factory.