Re: [web2py] Re: Graph Model (proposal to contribute)

2017-02-28 Thread Andrew Willimott
Hi Donald, yes I have , and I have been meaning to some changes (to minimise the overlap in names).Sorry, been busy lately, I'll get on to updating Welcome. My plan is to leave the existing graph code as is until everyone is ok with it. Thanks for following up. -- Resources: - http://we

Re: [web2py] Re: Graph Model (proposal to contribute)

2017-02-27 Thread Donald McClymont
Has anyone had a chance to try this out and advise if it is suitable to incorporate in main web2py or if there are some other changes that should be made before it would be acceptable. There's lots more that could be done with it but it seems quite useful and usable in present form? Donald On

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-20 Thread Andrew Willimott
Thanks Donald, I'll do another round of improvements and then create a PR. it does need to handle larger models better and I'll improve the code layout too. I'm also learning the d4 differences and there are a lot of future options with using d3. web2py with a d3 interactive front end is a

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-19 Thread Donald McClymont
Had a look at this and seems far better way to go as pygraphviz was beyond me to install on windows. I've been using d3 for some other things with web2py and some degree of interactivity with the graph eg creating new nodes and saving the layout as force directed typically gives you a good sta

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-17 Thread JorgeH
+1 for D3 here -- 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" g

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-16 Thread Ron Chatterjee
+1. Is it going to be standard on next upgrades? On Wednesday, November 16, 2016 at 9:58:35 AM UTC-5, Ramos wrote: > > +1 for D3 > no need to install graphviz and pygraphviz on the server... > > > 2016-11-16 13:56 GMT+00:00 Richard Vézina >: > >> Could we keep both rendering mechanism graphviz

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-16 Thread António Ramos
+1 for D3 no need to install graphviz and pygraphviz on the server... 2016-11-16 13:56 GMT+00:00 Richard Vézina : > Could we keep both rendering mechanism graphviz + d3? > > On Wed, Nov 16, 2016 at 4:38 AM, Andrew Willimott > wrote: > >> Here's a start: >> https://github.com/willimoa/welcome_d3

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-16 Thread Richard Vézina
Could we keep both rendering mechanism graphviz + d3? On Wed, Nov 16, 2016 at 4:38 AM, Andrew Willimott wrote: > Here's a start: > https://github.com/willimoa/welcome_d3 > > > > >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2p

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-16 Thread Andrew Willimott
Here's a start: https://github.com/willimoa/welcome_d3 > -- 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 sub

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-07 Thread António Ramos
+1 for D3js.. 2016-11-06 19:45 GMT+00:00 Jurgis Pralgauskis : > Hi, I would be interested! > > Ps.: I made some subgraph/filtering features, when graph model is big > (hundreds of tables), but with JS it might work nicer.. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Doc

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-06 Thread Jurgis Pralgauskis
Hi, I would be interested! Ps.: I made some subgraph/filtering features, when graph model is big (hundreds of tables), but with JS it might work nicer.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goog

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-10-24 Thread Andrew Willimott
Has anyone else tried visualising the models with d3js ? I have a mockup working using the force layout. I'd suggest this is a better long term approach than relying on graphviz being installed. (Graphviz has some good layouts though). I can send cleaned up code as a candidate to add to We

Re: [web2py] Re: Graph Model (proposal to contribute)

2013-02-18 Thread António Ramos
D3js pure javascript on client! see this example of meteorjs using d3js http://meteor.com/examples/parties That is something... 2013/2/18 Niphlod > the only issue with the current implementation in trunk is that on Windows > it's almost impossible to get it going, due to the requirements. >

[web2py] Re: Graph Model (proposal to contribute)

2013-02-18 Thread Niphlod
the only issue with the current implementation in trunk is that on Windows it's almost impossible to get it going, due to the requirements. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving

[web2py] Re: Graph Model (proposal to contribute)

2013-02-18 Thread pablo . angulo
Thanks a ton, Jose, I did a much more modest attempt at the same thing: print 'digraph Bloques{\n' \ 'ranksep="2"\n' \ 'splines="true"\n' for table in db: for field in table:

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Jose
dia can load svg files! Jose --

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Jose
El sábado, 29 de diciembre de 2012 21:22:47 UTC-3, rochacbruno escribió: > > > > On Sat, Dec 29, 2012 at 10:20 PM, Jose >wrote: > >> ‘dia’ > > > It exports on to an editable dia diagram? > > I have to test it! > >From http://networkx.lanl.gov/pygraphviz/preview/reference/agraph.html Formats (

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Bruno Rocha
On Sat, Dec 29, 2012 at 10:20 PM, Jose wrote: > ‘dia’ It exports on to an editable dia diagram? I have to test it! --

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Jose
I like different colors to gray... You can add more formats to download: ‘canon’, ‘cmap’, ‘cmapx’, ‘cmapx_np’, ‘dia’, ‘dot’, ‘fig’, ‘gd’, ‘gd2’, ‘gif’, ‘hpgl’, ‘imap’, ‘imap_np’, ‘ismap’, ‘jpe’, ‘jpeg’, ‘jpg’, ‘mif’, ‘mp’, ‘pcl’, ‘pdf’, ‘pic’, ‘plain’, ‘plain-ext’, ‘png’, ‘ps’, ‘ps2’, ‘svg’, ‘

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Massimo Di Pierro
I'll take the patch. ;-) Please use colors which look when printed in black and white. On Saturday, 29 December 2012 07:53:17 UTC-6, Jose wrote: > > This can be useful? > > 1) Save the model > 2) Show auth_ tables different from other > > If you want to send the patch. > Jose > > --

[web2py] Re: Graph Model (proposal to contribute)

2012-12-29 Thread Jose
El viernes, 28 de diciembre de 2012 15:15:34 UTC-3, Luc Chase escribió: > > Hi, > just to clarify please... is this to show the model using a graphical > model? > Or is it for extending the DAL to support Graph > databasemodels ? > > -- > Luc. > Onl

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread António Ramos
D3js seems Awsome. Its already included in Meteorjs http://www.dashingd3js.com/table-of-contents http://bost.ocks.org/mike/d3/workshop/ 2012/12/28 Alan Etkin > > El viernes, 28 de diciembre de 2012 15:34:49 UTC-3, Ramos escribió:D3js > > I'm looking at the awsome examples of D3.js at http://

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread Alan Etkin
> El viernes, 28 de diciembre de 2012 15:34:49 UTC-3, Ramos escribió:D3js I'm looking at the awsome examples of D3.js at http://d3js.org/ The thing is that I can't find anything pre-built to show a relational database scheme as graphviz does. --

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread Massimo Di Pierro
I would very much prefer if the graph were generated in JS instead of using serverside code. On Friday, 28 December 2012 12:34:49 UTC-6, Ramos wrote: > > D3js > > 2012/12/28 Alan Etkin > > >> Too bad graphviz does not accept css (and the "< >" is weird >> also). I wonder if there is any altern

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread António Ramos
D3js 2012/12/28 Alan Etkin > Too bad graphviz does not accept css (and the "< >" is weird > also). I wonder if there is any alternative library with similar > functionality. Maybe something to produce an svg visual model with a simple > API. Am I asking too much? > > -- > > > > --

[web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread Luc Chase
Hi, just to clarify please... is this to show the model using a graphical model? Or is it for extending the DAL to support Graph databasemodels ? -- Luc. On Saturday, 15 December 2012 14:49:48 UTC, Jose wrote: > > Hi > > I modified the admin and welco

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-28 Thread Alan Etkin
Too bad graphviz does not accept css (and the "< >" is weird also). I wonder if there is any alternative library with similar functionality. Maybe something to produce an svg visual model with a simple API. Am I asking too much? --

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-26 Thread Jose
El miércoles, 26 de diciembre de 2012 09:01:51 UTC-3, Jose escribió: > > > > El martes, 25 de diciembre de 2012 17:44:01 UTC-3, Alan Etkin escribió: >> >> I've moved the table style to web2py.css and changed the xml generation >>> with helpers to cleanup appadmin. Attached are the proposed diffs

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-26 Thread Jose
El martes, 25 de diciembre de 2012 17:44:01 UTC-3, Alan Etkin escribió: > > I've moved the table style to web2py.css and changed the xml generation >> with helpers to cleanup appadmin. Attached are the proposed diffs for >> appadmin.py and web2py.css. >> >> > Oops! That would never work (sorry,

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-25 Thread Jose
El martes, 25 de diciembre de 2012 14:21:00 UTC-3, Alan Etkin escribió: > > > On Tuesday, December 25, 2012 12:45:31 PM UTC-3, Jose wrote: > El miércoles, 19 de diciembre de 2012 19:50:53 UTC-3, Massimo Di Pierro > escribió: >> >> Not yet. It is the queue. >> > > If you are using mercurial t

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-25 Thread Alan Etkin
> > I've moved the table style to web2py.css and changed the xml generation > with helpers to cleanup appadmin. Attached are the proposed diffs for > appadmin.py and web2py.css. > > Oops! That would never work (sorry, I didn't know the library requires special html input). This new patch instea

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-25 Thread Alan Etkin
El martes, 25 de diciembre de 2012 12:45:31 UTC-3, Jose escribió: > > El miércoles, 19 de diciembre de 2012 19:50:53 UTC-3, Massimo Di Pierro > escribió: >> >> Not yet. It is the queue. > > I've moved the table style to web2py.css and changed the xml generation with helpers to cleanup appadm

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-25 Thread Alan Etkin
> On Tuesday, December 25, 2012 12:45:31 PM UTC-3, Jose wrote: El miércoles, 19 de diciembre de 2012 19:50:53 UTC-3, Massimo Di Pierro escribió: > > Not yet. It is the queue. > If you are using mercurial trunk with Linux try: web2py path]$ touch NEWINSTALL And restart web2py. I think this i

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-25 Thread Jose
El miércoles, 19 de diciembre de 2012 19:50:53 UTC-3, Massimo Di Pierro escribió: > > Not yet. It is the queue. > Hello Massimo. I saw this and was implemented in the trunk. A new application is created from the welcome folder or from welcome.w2p? I created an application and is not avail

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-19 Thread Massimo Di Pierro
Not yet. It is the queue. On Wednesday, 19 December 2012 09:49:04 UTC-6, Ramos wrote: > > Is this in trunk? > > > > 2012/12/16 Ovidio Marinho > > >> Very Well Jose. >> >> >> >>Ovidio Marinho Falcao Neto >> Web Developer >> ovid...@gmail.com >>

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-19 Thread António Ramos
Is this in trunk? 2012/12/16 Ovidio Marinho > Very Well Jose. > > > >Ovidio Marinho Falcao Neto > Web Developer > ovidio...@gmail.com > ovidiomari...@itjp.net.br > ITJP - itjp.net.br >83 8826 9088 - Oi >

Re: [web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Ovidio Marinho
Very Well Jose. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi 83 9336 3782 - Claro Brasil 201

[web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Jose
new patch with small changes Jose -- --- /home/jose/trabajos/dbfw2p/web2py/applications/welcome/controllers/appadmin.py 2012-12-03 23:40:06.0 -0300 +++ /home/jose/trabajos/dbfw2p/web2py/applications/modelografico/controllers/appadmin.py 2012-12-15 21:00:41.0 -0300 @@ -460,3 +4

[web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Jose
El sábado, 15 de diciembre de 2012 13:23:30 UTC-3, Massimo Di Pierro escribió: > > Thank you! I will look at this asap. > > please use this latest patch -- --- /home/jose/web2py/applications/welcome/controllers/appadmin.py 2012-11-25 09:32:54.0 -0300 +++ /home/jose/trabajos/dbfw2p/

[web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Massimo Di Pierro
Thank you! I will look at this asap. On Saturday, 15 December 2012 09:58:19 UTC-6, Jose wrote: > > > > El sábado, 15 de diciembre de 2012 12:29:27 UTC-3, Massimo Di Pierro > escribió: >> >> Did you code this already? Can you send the code. I like it a lot. > > > Hi Massimo, > > Lack control if in

[web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Jose
El sábado, 15 de diciembre de 2012 12:29:27 UTC-3, Massimo Di Pierro escribió: > > Did you code this already? Can you send the code. I like it a lot. Hi Massimo, Lack control if installed pygraphviz! [design.html.patch] -> in admin [appadmin.html.patch] -> in welcome [appadmin.py.patch] ->

[web2py] Re: Graph Model (proposal to contribute)

2012-12-15 Thread Massimo Di Pierro
Did you code this already? Can you send the code. I like it a lot. On Saturday, 15 December 2012 08:49:48 UTC-6, Jose wrote: > > Hi > > I modified the admin and welcome, to allow create a model graph. > > >