We already tried setWeight but it seems that it doesn't work, do we have to SET_DEFAULT_EDGE_WEIGHT = 1.0?

it look like as protected value, again check that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.