doese对mxEdgeStyle.js中的[routePatterns]意味着什么

时间:2017-03-29 14:09:15

标签: javascript mxgraph jgraph

在mxEdgeStyle.js

routePatterns: [
    [ [ 513, 2308, 2081, 2562 ], [ 513, 1090, 514, 2184, 2114, 2561 ],
        [ 513, 1090, 514, 2564, 2184, 2562 ],
        [ 513, 2308, 2561, 1090, 514, 2568, 2308 ] ],

[ [ 514, 1057, 513, 2308, 2081, 2562 ], [ 514, 2184, 2114, 2561 ],
        [ 514, 2184, 2562, 1057, 513, 2564, 2184 ],
        [ 514, 1057, 513, 2568, 2308, 2561 ] ],

[ [ 1090, 514, 1057, 513, 2308, 2081, 2562 ], [ 2114, 2561 ],
        [ 1090, 2562, 1057, 513, 2564, 2184 ],
        [ 1090, 514, 1057, 513, 2308, 2561, 2568 ] ],

[ [ 2081, 2562 ], [ 1057, 513, 1090, 514, 2184, 2114, 2561 ],
        [ 1057, 513, 1090, 514, 2184, 2562, 2564 ],
        [ 1057, 2561, 1090, 514, 2568, 2308 ] ] ],

当我想计算航点的方向时,我该如何选择呢?

我是mxgraph的新手,谢谢

0 个答案:

没有答案