3 |
# |
# |
4 |
# This file is part of Navidoc. |
# This file is part of Navidoc. |
5 |
# |
# |
6 |
# Navidoc is free software; you can redistribute it and/or modify it under |
# Navidoc is free softSware; you can redistribute it and/or modify it under |
7 |
# the terms of the GNU Lesser General Public License as published by |
# the terms of the GNU Lesser General Public License as published by |
8 |
# the Free Software Foundation; either version 2 of the License, or |
# the Free Software Foundation; either version 2 of the License, or |
9 |
# (at your option) any later version. |
# (at your option) any later version. |
107 |
out = open(filepath, "w") |
out = open(filepath, "w") |
108 |
out.write(html[0:insert]); |
out.write(html[0:insert]); |
109 |
if not is_linked(diagram): |
if not is_linked(diagram): |
110 |
out.write('<img ') |
out.write('<img') |
111 |
html = html[html.find('"', insert+1)+1:len(html)] |
html = html[html.find('"', insert+11)+1:len(html)] |
112 |
else: |
else: |
113 |
out.close() |
out.close() |
114 |
create_uml(diagram, context) |
create_uml(diagram, context) |