Hi Jurgis, web2py master has recently switched from pygraphviz to a js based solution. I would suggest you to adapt your change with current master branch and then publish a PR for an integration.
Paolo On Friday, July 7, 2017 at 3:35:35 PM UTC+2, Ramos wrote: > > +1 good job > > 2017-07-07 12:19 GMT+01:00 Jurgis Pralgauskis <jurgis.pr...@gmail.com > <javascript:>>: > >> Hi, >> >> in our DB we have ~300 tables. So I hacked into graph_model to filter >> shown tables/fields. >> It was very helpfull for me when I joined the project with so many tables. >> The most common use case -- searching for possible join-paths between two >> tables, but also can filter by (fragments of) tablenames. >> >> It shows SVG by default (less memory consumption than png), >> and tables are hyperlinked to their admin pages. >> >> Also made beta plugin >> <https://github.com/dz0/web2py_grand_helpers/blob/master/downloads/web2py.plugin.dbgraph.w2p> >> (the >> code is quite dirty and not optimal, but does the job : ). >> src: controller >> <https://github.com/dz0/web2py_grand_helpers/blob/master/plugins/controllers/plugin_dbgraph.py>, >> >> view >> <https://github.com/dz0/web2py_grand_helpers/blob/master/plugins/views/plugin_dbgraph/graph_model.html> >> >> screenshot >> <https://raw.githubusercontent.com/dz0/web2py_grand_helpers/master/plugin_dbgraph.png> >> >> Would be glad if someone finds it usefull :) >> ps.: what is the best way to distribute it? http://www.web2pyslices.com/ >> seems to be frozen for 1 year.. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.