To help reporting images for #1072450: Upgrade from 6.20 to 7.2 - Update #7003 still fails and #717834: The dependencies declared in core's hook_update_dependencies() implementations aren't actually correct I've added a quick fix for drush

drush php-eval "print_r(graphapi_to_dot(_graphapi_devel_system_module_install_layout()));" | dot -Tpng -o../core-7-1072450-patched.png

This needs at least a .drush.inc file :)

Comments

clemens.tolboom’s picture

The mentioned command should work now.

clemens.tolboom’s picture

Following along the mentioned issues I wonder why I don't reuse the code from include/update.inc for _graphapi_devel_system_module_install_layout()

clemens.tolboom’s picture

The command still works but as we now have views in place which could replace graphapi_devel I'm not sure how run this again.

We could try to run drush executing views to return just the dot file.

clemens.tolboom’s picture

s.daniel’s picture

This might help getting forward: http://drupal.org/sandbox/damz/1438582

clemens.tolboom’s picture

Assigned: clemens.tolboom » Unassigned

Thanks for the link. I just generated a ~20kx16k png file with drush entitygraph | dot -Gratio=0.7 -Eminlen=2 -T png -o ../ents.png using that link.

My puzzle to solve is mere views related now. What to expose through drush?

As the displays are configurable to the different engines should we allow for those too? A spacetree maybe mapped onto graphviz dot or should that be a neato or ...

But we can start just doing the dump later on tweak the output.

clemens.tolboom’s picture

Project: Graph API » Graphviz
Priority: Normal » Minor

Moved to graphviz project as it is a dot.

It may be put back to Graph API as the dot engine is also used by https://github.com/clue/graph

But this is a low prio.