Graph model: javadoc, small changes