chiark
/
gitweb
/
~naath
/
familyTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added list by number of children; refarctored other list-by-count
[familyTree.git]
/
cgiFiles
/
make_dot.py
diff --git
a/cgiFiles/make_dot.py
b/cgiFiles/make_dot.py
index abf3071dfd4d90829524e668e29bc53848c20e8d..0e7852513731f9177e031f329662a388ed4e706c 100755
(executable)
--- a/
cgiFiles/make_dot.py
+++ b/
cgiFiles/make_dot.py
@@
-122,7
+122,7
@@
def start_dot(fs):
edges=[]
cNodes={}
dot = "digraph G{\n"
edges=[]
cNodes={}
dot = "digraph G{\n"
- dot = dot + "ranksep = 0.2 nodesep = 0\n"
+ dot = dot + "ranksep = 0.2 nodesep = 0
.1
\n"
subgraphs=[]
set_attr(fs)
subgraphs=[]
set_attr(fs)
@@
-169,7
+169,7
@@
def set_attr(fs):
global debug_edge_attr
zero_size = [('width','0'),('height','0')]
person_attr = [('fontsize',str(fs))]+\
global debug_edge_attr
zero_size = [('width','0'),('height','0')]
person_attr = [('fontsize',str(fs))]+\
- [('shape','plaintext'),('margin','0
.1
'),\
+ [('shape','plaintext'),('margin','0'),\
('style','filled'),('fillcolor','white')] +\
zero_size
highlight_attr = \
('style','filled'),('fillcolor','white')] +\
zero_size
highlight_attr = \