graphic: add doc comments