width: 16px;
}
+.tip {
+ background-color: white;
+ border: 1px solid #CCCCCC;
+ box-shadow: 2px 2px 8px #555555;
+ color: #111111;
+ font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;
+ font-size: 14px;
+ opacity: 0.9;
+ padding: 7px;
+ width: 260px;
+ border-radius: 8px;
+}
+
Edge : one.topology.option.edge(true, '23A4FF', 1.5),
Tips : {
enable : true,
- type : 'Native',
+ type : 'auto',
+ offsetX: 15,
+ offsetY: 15,
onShow : function(tip, node) {
if (node.name != undefined)
- tip.innerHTML = "";
- // tipsOnShow(tip, node);
+ tip.innerHTML = "Name : " + node.name + "<br>";
+ if(node.data["$type"]!=undefined)
+ tip.innerHTML = tip.innerHTML + "Type : " + node.data["$type"] + "<br>";
+ if(node.data["$desc"]!=undefined)
+ tip.innerHTML = tip.innerHTML + "Description : " + node.data["$desc"];
}
},
Events : {