I'm trying to use Qtip in addition to Cytoscape.js to show tooltip on mouseover nodes.
I followed the guide there but I'm unable to make it works, I get this error when my mouse is over a node :

This is the code related to the error :
cy.on('mouseover', 'node', function(event) {
var node = event.cyTarget;
node.qtip({
content: 'hello',
show: {
event: event.type,
ready: true
},
hide: {
event: 'mouseout unfocus'
}
}, event);
});
Here's my index where I call the .js files :
<!DOCTYPE>
<html>
<head>
<title>cytoscape-dagre.js demo</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link href="css/style.css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="css/jquery.qtip.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div id="cy"></div>
<script type="text/javascript" src="json/data_error.json"></script>
<script src="js/jquery.qtip.min.js"></script>
<script src="js/cytoscape.min.js"></script>
<script src="js/cytoscape-qtip.js"></script>
<script src="https://cdn.rawgit.com/cpettitt/dagre/v0.7.4/dist/dagre.min.js"></script>
<script src="https://cdn.rawgit.com/cytoscape/cytoscape.js-dagre/1.5.0/cytoscape-dagre.js"></script>
<script src="js/code.js"></script>
</body>
</html>
What I'm doing wrong ? Many thanks !
The mistake is the var node = event.cyTarget, there is no such property as cyTarget, so just call event.target and you are gucci: