Auto naming in Graph

A similar question was already posted here:

@lveci Can you have a look at this, please?