achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Feature Request: Web Image Mapping #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be really cool if:
When exporting to an image, the system provides an option to export an image 
map as well. If the option is selected, UMLet will generate a corresponding 
HTML file that contains an image map for all entities.

For example, if the attached diagram was exported to JPG and the option to 
generate an HTML map was selected, UMLet would not only create the attached 
JPG, but it would also create the attached HTML file.

Original issue reported on code.google.com by cjgid...@gmail.com on 12 Sep 2014 at 3:33

Attachments:

GoogleCodeExporter commented 9 years ago
This should be classified as an Enhancement, not a Defect, but I don't see a 
way of changing it.  - Sorry.

G

Original comment by cjgid...@gmail.com on 12 Sep 2014 at 3:35

GoogleCodeExporter commented 9 years ago
Hi
Typically UMLet is used to create diagrams and export them to image or vector 
based formats.
A HTML image map is typically used to map parts of an image to links, and 
therefore not really part of UMLet's featureset.
Even if we would implement such an automatically created html file, we would 
not know which links you would add to the parts of the image, so we could only 
create a part of the image map.

So although we won't include this feature in the program itself, it should be 
relatively easy to create this image map based on the uxf file of the diagram.

Both the uxf and the image map are XML formats, so it should be possible to 
build such a XML transformation using any programming language or XSLT.

Original comment by AFDiaX on 5 Oct 2014 at 7:34