Documentation is not clear about graph's index.
If I have 5 graphs with indexes: 1,2,3,4,5
and I remove graph by index 3 and add another graph then new created graph will have index 6 or 3?
How I can check what is the index of new created graph?
Documentation is not clear about graph's index.
If I have 5 graphs with indexes: 1,2,3,4,5
and I remove graph by index 3 and add another graph then new created graph will have index 6 or 3?
How I can check what is the index of new created graph?
The indexing follows common conventions in almost any language, especially C++.
The index starts at 0 (not 1!) and enumerates all objects in the list without gaps. So if you remove graph 3, the graphs after that will move forward by one index.