When I run this simple example, igraph adds one vertex and my vertices start from 2 instead of 1
# very very simple graph (1-2-3)
edges <- rbind(c(1,2), c(2,3))
write.table(edges, file="edgetest.txt", sep=" ", quote=F, row.names=F, col.names = F)
g <- simplify(read.graph(file="edgetest.txt", format="edgelist", directed=F))
plot(g)
This is how it looks like after running the example

Does someone knows why this happens? Is this OK or am I missing something
I think you are introducing some error by writing out to text and reading back in.
You could just do: