Use warn() for CE warning message
Add pygraphviz dependency check
Edit to be a bit closer to master