Commit 6230d904 authored by Jérome Perrin's avatar Jérome Perrin

show node id in the graph, with title as an attribute. XXX

It's probably better to have a new description field for this
parent 2c9dfaf0
...@@ -432,7 +432,7 @@ ...@@ -432,7 +432,7 @@
coordinate = priv.updateElementCoordinate(element.id, coordinate); coordinate = priv.updateElementCoordinate(element.id, coordinate);
} }
render_element.append('<div class="window ' + element._class.replace('.', '-') + '" id="' + render_element.append('<div class="window ' + element._class.replace('.', '-') + '" id="' +
element.element_id + '">' + (element.name || element.id) + '<div class="ep"></div></div>'); element.element_id + '" title="' + (element.name || element.id) + '">' + element.id + '<div class="ep"></div></div>');
box = $("#" + element.element_id); box = $("#" + element.element_id);
var absolute_position = priv.convertToAbsolutePosition( var absolute_position = priv.convertToAbsolutePosition(
coordinate.left, coordinate.top); coordinate.left, coordinate.top);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment