Olivier Dony
17ebdeb565
[FIX] tools.graph: stop useless recursions to make graph_get() faster
...
In some cases (depending on the kind of graph being rendered),
the recursive processing could lead to timings of 1 minute per
call to ir.ui.view.graph_get(), even for a relatively small
number of nodes (e.g. 10). By avoiding useless recursions in
head_component() it goes down to a few ms.
This patch also adds str() wrappers for __str__ and printing
of nodes labels, which are not necessarily strings (they
are often integers)
bzr revid: odo@openerp.com-20110315181019-3pi3j0ojg33wtv3z
2011-03-15 19:10:19 +01:00
apa-tiny
abfe6add89
improved
...
bzr revid: apa@tinyerp.com-20100302053853-laq7143efs4q4tbu
2010-03-02 11:08:53 +05:30
apa-tiny
2aba47bbcf
reverted graph.py
...
bzr revid: apa@tinyerp.com-20100302053617-jdpc1ww462jhwffg
2010-03-02 11:06:17 +05:30
Ysa (Open ERP)
878ef36359
Remove print statement
...
bzr revid: ysa@tinyerp.co.in-20100226084615-9ehu6ybx7m7w4rfb
2010-02-26 14:16:15 +05:30
apa-tiny
6cf08db5e3
[IMP]:improved code for diagram view
...
bzr revid: apa@tinyerp.com-20100226083041-qzsttqezrzuuwniz
2010-02-26 14:00:41 +05:30
HDA (OpenERP)
a0ba43d800
Merged with stable
...
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
KSH(Axelor)
64fb43920c
[FIX] Graph : report corrected
...
lp bug: https://launchpad.net/bugs/516044 fixed
bzr revid: jvo@tinyerp.com-20100204072519-7r6yu5g3r8qxlhm4
2010-02-04 12:55:19 +05:30
Xavier Morel
cf13b6c36e
[merge] fix-shebang from 5.0 to trunk
...
bzr revid: hmo@tinyerp.com-20091202091102-r509b0bgogyul6yx
bzr revid: xmo@tinyerp.com-20091202101458-6a1mo240grkld6do
2009-12-02 11:14:58 +01:00
Xavier Morel
9bb02a1bb0
[fix] use env for python shebang rather than hardcoding /usr/bin/python
...
bzr revid: xmo@tinyerp.com-20091202100658-d2q66mu6kihgj8h5
2009-12-02 11:06:58 +01:00
pap(openerp)
251b6720ca
Changed encoding to coding ref: PEP: 0263
...
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP)
4d7134cd99
Changed licencing
...
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
Stephane Wirtel
9d293d1f00
[IMP] Update the copyright to 2009
...
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
Stephane Wirtel
a49463c7b4
[IMP] Remove the print statement
...
bzr revid: stephane@tinyerp.com-20081210214357-xrdp1k23y5va5o8u
2008-12-10 22:43:57 +01:00
Christophe Simonis
e404e54e38
passing in GPL-3
...
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Shanta Kabra
9e7af6b730
* Imrovement for tree having more than one root
...
bzr revid: shanta.kabra@gmail.com-20081008131530-j1w2mr9e44badj5m
2008-10-08 18:45:30 +05:30
Shanta Kabra
c5e2c4dee5
Interchanged 'x' and 'y' roles in result dictionary.
...
Normalized order of nodes
bzr revid: shanta.kabra@gmail.com-20080911125749-ny4btftghgazh29q
2008-09-11 18:27:49 +05:30
Shanta Kabra
f6bd3ada8a
* Change in scale strategy
...
bzr revid: shanta.kabra@gmail.com-20080909093142-urjd701pvlysw4na
2008-09-09 15:01:42 +05:30
Shanta Kabra
fd8f74ca72
* Modifications in the strategy to add edge for the nodes with no ancesters
...
bzr revid: shanta.kabra@gmail.com-20080905094546-oj9xbxoiykwk541k
2008-09-05 15:15:46 +05:30
Shanta Kabra
8c725d3cfe
* Imrovement in tree ordering and finding starts of the components (when graph is a forest)
...
bzr revid: shanta.kabra@gmail.com-20080904053614-bqwxe32uyp6t731c
2008-09-04 11:06:14 +05:30
Shanta Kabra
b08ade3356
* Code improvement
...
bzr revid: shanta.kabra@gmail.com-20080903111425-x8hb38nbaqofxdvu
2008-09-03 16:44:25 +05:30
Shanta Kabra
0f3033108b
* Improved graph rankin using optimal feasible tree
...
bzr revid: shanta.kabra@gmail.com-20080902114330-8rz4nanbmwm1s742
2008-09-02 17:13:30 +05:30
Shanta Kabra
754af78295
* Improvement in tree ordering to avoid overlaping
...
bzr revid: shanta.kabra@gmail.com-20080902060409-6o8q476t246dlf4s
2008-09-02 11:34:09 +05:30
Shanta Kabra
aece567bf3
* Graph algorithm updations
...
bzr revid: shanta.kabra@gmail.com-20080829092303-4qn1f85o9p25trap
2008-08-29 14:53:03 +05:30
Christophe Simonis
2eb6b8265b
add encoding comment and vim comment
...
bzr revid: christophe@tinyerp.com-20080723150127-fmitw7zgeokcualh
2008-07-23 17:01:27 +02:00
Christophe Simonis
2dd9723b8b
convert tabs to 4 spaces
...
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
2008-07-22 16:24:36 +02:00
Fabien Pinckaers
694f88319c
Speed Improvement on Every Operation:
...
Removed Inherit Stuff
bzr revid: fp@tinyerp.com-20080716200532-iec6d4jfelwhi5rt
2008-07-16 22:05:32 +02:00
stw
fa973350b9
add the copyright
...
bzr revid: stw-6e4c16268c7d6111a353b94a6a629d2ca53d0474
2008-06-16 07:24:04 +00:00
Amit Mendapara
e00576317e
* fixed recursion problem in graph (ref ksh)
...
* fixed get_graph method (now returns transition ids too) (ref ksh)
bzr revid: ame@tinyerp.com-2fc245f372006170fab92e79986bf1b071bdc71c
2008-05-19 10:24:08 +00:00
Amit Mendapara
6194063abc
* Fixed new graph (partially implemented graph algorithem) (ref. ksh)
...
bzr revid: ame@tinyerp.com-9ece42d68ea21369777d7b927355a6fc4b01a517
2008-05-01 12:02:58 +00:00
Fabien Pinckaers
1e256fd373
Adding Graph Rendering Routine in the Trunk
...
bzr revid: fp@tinyerp.com-55457de5949ef31ba3aa2b82612f3911afed2ecf
2008-04-21 07:09:08 +00:00
Fabien Pinckaers
e264704f58
Adding a graph library
...
bzr revid: fp@tinyerp.com-faf666d8f3210c369dbc1561d74d6875542593de
2008-04-21 06:39:59 +00:00