Changeset 589 for mds-and-trees
- Timestamp:
- 08/19/16 23:59:09 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mds-and-trees/tree-genealogy.py
r586 r589 52 52 53 53 def svg_add_line(from_pos, to_pos, style=svg_line_style): 54 svg_file.write('<line ' + style + ' x1="' + str(from_pos[0]) + '" x2="' + str(to_pos[0]) + '" y1="' + str(from_pos[1]) + '" y2="' + str(to_pos[1]) + '" />') 54 svg_file.write('<line ' + style + ' x1="' + str(from_pos[0]) + '" x2="' + str(to_pos[0]) + 55 '" y1="' + str(from_pos[1]) + '" y2="' + str(to_pos[1]) + '" fill="none"/>') 55 56 56 57 def svg_add_text(text, pos, anchor, style=svg_scale_text_style):
Note: See TracChangeset
for help on using the changeset viewer.