Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- as.crud2callbacks["table1_clickGraphNode"] = function(node){
- // здесь показано действие по умолчанию
- var s = "<h4>" + node.name + "</h4>";
- var list = [];
- node.eachAdjacency(function (adj) {
- list.push(adj.nodeTo.name);
- });
- var el = $jit.id('as-visGraphNodePanel');
- if(el) el.innerHTML = s + "<p class='text-muted small'>" + list.join(", ") + "</p>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement