doc: update & clarify some pitfalls
graph: fix unnecessary creation of empty graphics