Attribute "file-name"

Use:required
Used by:graph
Description:A file name without extension for the SVG chart to be generated. If the DotML graph is embedded into a HTML page, then the path is relative to the page. File names have to be unique within a page.

The SVG chart of the example below can be found under graphs/file-name.svg. The corresponding CSS file containing the size of the chart can be found under graphs/file-name.size.css.
Values:A file name without extension
Default Value:""
Sponsored links:

Example 1/1:
Source code:
<graph file-name="graphs/file-name" label="nice graph">
  
<node id="a"/>
<node id="b"/>
<edge from="a" to="b"/>
</graph>
Sponsored links

 Copyright 2002-2010 by Martin Loetzsch (http://martin-loetzsch.de), all rights reserved. See the DotML licence for details.