dot integration for graphs