[英]What does “vector” means in javascript graph library
I am currently learning to use Springy which is a force directed graph layout algorithm in JavaScript. 我目前正在学习使用Springy ,这是JavaScript中的强制图布局算法。 There is a demo code springyui.js springyui.js , in the code, there are several places define " vector ", eg
var targetBB = {bottomleft: new Vector(-2, -2), topright: new Vector(2, 2)};
有一个演示代码springyui.js springyui.js,在代码中,有几个地方定义“ vector ”,例如
var targetBB = {bottomleft: new Vector(-2, -2), topright: new Vector(2, 2)};
. 。
I don't understand what is the mean of vector in javascript graphic application, what does vector defines generally? 我不明白什么是在JavaScript的图形应用载体的意思是,确实载体通常定义?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.