Skip to content
Unick Soft edited this page Dec 26, 2020 · 1 revision

IMultiGraph extends IGraph to add new methods. Cast to this method only if IGraph's method IsMultiGraph returns true.

  • GetEdgesNumber(ObjectId source, ObjectId target) - return number of edges from source to target.

  • GetEdge(ObjectId source, ObjectId target, const IndexType & index) - return EdgeId which go from source to target with index. Indexes can be from 0 to GetEdgesNumber(source, target) - 1.

  • GetEdgeStrId(ObjectId edge, char* outBuffer, IndexType bufferSize) - return text id of edge. Return true is success.

  • RemoveEdgeByID(ObjectId edgeId) - remove edge by id.

Clone this wiki locally