Skip to content
Snippets Groups Projects
Commit 8206838a authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Modified the mouse cursor within the graph.

parent 3a434af2
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,8 @@ public final class CurrentAnalysisEditorGraphBean {
RequestContext.getCurrentInstance().execute(CurrentAnalysisEditorGraphBean.JS_CMD_ADD_REMOVE_NODE_LISTENER);
RequestContext.getCurrentInstance().execute(CurrentAnalysisEditorGraphBean.JS_CMD_ADD_CREATE_EDGE_LISTENER);
RequestContext.getCurrentInstance().execute(CurrentAnalysisEditorGraphBean.JS_CMD_ADD_REMOVE_EDGE_LISTENER);
RequestContext.getCurrentInstance().execute("graph.addListener('onMouseEnter', function() {graph.setMouseCursor('pointer')})");
}
/**
......
......@@ -42,7 +42,7 @@
<script>
nodeClickListener = function(node, info, e) {
nodeClickCommand([{name : 'ID', value : node.id}]);
markNode(node, '#FF0000');
markNode(node, '#FF0000');
}
nodeRemoveListener = function(node) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment