Number: 2029
Title: id not provided in svg output
Submitter: Jean-Pierre
Date: Wed Sep 8 09:50:32 2010
Subsys: Dot
Version: 2.20.2
System: x86-Linux-Ubuntu 10.04
Severity: major
Problem:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
 <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
]>
<!-- Generated by Graphviz version 2.20.2 (Tue Mar &#160;2 19:03:41 UTC 2010)
     For user: (root) root -->
<!-- Title: g Pages: 1 -->
<svg width="92pt" height="44pt"
 viewBox="0.00 0.00 92.00 44.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 40)">
<title>g</title>
<polygon style="fill:white;stroke:white;" points="-4,4 -4,-40 88,-40 88,4 -4,4"/>
<!-- bug -->
<g id="node1" class="node"><title>bug</title>
<ellipse style="fill:none;stroke:black;" cx="42" cy="-18" rx="41.8891" ry="18"/>
<text text-anchor="middle" x="42" y="-13.9" style="font-family:Times New Roman;font-size:14.00;">LABEL</text>
</g>
</g>
</svg>

Input:
digraph g {
    bug [ id=ID, label=LABEL ];
}
Comments:
Unable to access objects through identifier as described here: http://www.graphviz.org/doc/info/attrs.html#a:id and here: http://www.graphviz.org/doc/info/output.html#ID with the command line: dot -Tsvg jp.dot

[north] It appears that bug was fixed -- I see node id's in the native svg output in version 2.27. Sorry there was a problem.

[erg] The id feature was added September, 2008. Release 2.20.2 is from June, 2008.
Owner: erg
Status: Fixed