javascript - Wrong Y-axis direction on node select and mouse move in Vivagraph.js -


i made simple graph using vivagraph.js , webglgraphics , added images on nodes. nodes move incorrect on y axis. when select node , move mouse image moves down. how can fix ?

i changed y position negative , works fine images when add text node, node moves in opposite direction mouse

line: 5413 = > changed

pos.y = ui.position.y;    to=>   pos.y = -ui.position.y; 

Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -