|
|
@ -135,7 +135,6 @@ function buildSentetree() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
tree.data(model.getRenderedGraphs(2))
|
|
|
|
tree.data(model.getRenderedGraphs(2))
|
|
|
|
.on('nodeMouseenter', (node) => {
|
|
|
|
.on('nodeMouseenter', (node) => {
|
|
|
|
console.log(node)
|
|
|
|
|
|
|
|
$('#nodeTitle').removeClass('hidden')
|
|
|
|
$('#nodeTitle').removeClass('hidden')
|
|
|
|
$('#nodeTitleContent').html('<ul>' + node.data.topEntries.map((n) => "<li>" + data[n.id].rawtxt + "</li>").join('') + "</ul>")
|
|
|
|
$('#nodeTitleContent').html('<ul>' + node.data.topEntries.map((n) => "<li>" + data[n.id].rawtxt + "</li>").join('') + "</ul>")
|
|
|
|
})
|
|
|
|
})
|
|
|
|