Cherry-pick Vertex class refacto when adding/removing edge into 3.11.33.1
#1004 (closed) : refacto of Vertex class when adding/removing edge
See merge request !684 (merged)
#1004 (closed) : refacto of Vertex class when adding/removing edge
See merge request !684 (merged)