Add check for graphviz dependency in REST API