轻量高效的拓扑图组件
zh

Qunee for HTML5 V2.7版本发布

2018-10-25 2022-04-28 最后修改

Qunee for HTML5 V2.7.0.2版本正式发布,主要增加qunee-es.js格式类库,可以使用es6的import语法导入,示例如下

<script type="module">
    import Q from "./lib/qunee-es.js";
    var graph = new Q.Graph('canvas');
    var hello = graph.createNode("Hello", -100, -50);
    hello.image = Q.Graphs.server;
    var qunee = graph.createNode("Qunee", 100, 50);
    var edge = graph.createEdge("Hello\nQunee", hello, qunee);
    edge.edgeType = Q.Consts.EDGE_TYPE_ZIGZAG;
</script>
Next Prev