yEd generates an HTML page on which the exported diagram is displayed using a Flash-based GraphMLViewer. For this purpose, yEd generates the following files.
yEd exports all needed files such that they can be viewed on the local machine without any changes by opening the HTML file. The internet browser has to have the Adobe® Flash® Plugin version 9 or better installed.
The web-enabled version of the GraphMLViewer resides on the yWorks website. The Javascript file
GraphMLViewer.js
automatically chooses the right version of the viewer. To integrate the exported files
into a web page and to allow a preview on a local machine, the following steps have to be taken.
<body>
element of [filename].html
can be copied into the target web
page.
[filename].html
. Otherwise
the graphUrl
parameter of the Javascript function RunPlayer()
has to be adjusted
accordingly.
[filename].html
. Alternatively, the src
attribute of the referencing <script>
element has to be adjusted.
[filename].html
.
www.foo.com/subfolder/viewer.html
, the crossdomain file should be accessible under www.foo.com/crossdomain.xml
).
If this is not possible, place the file in the same folder as the GraphML file. In that case it is possible that
users which use Flash Player 10.0 won't have access to the GraphML file. If that is the case, please contact your
web server administrator. Further information is provided by Adobe in the following technical article.http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html#_Special_Considerations_for