go.js:获取整个画布的节点信息

for (var nit = that.myDiagram.nodes; nit.next(); ) {
        var node = nit.value;
        console.log(node.data)
        var key = node.data.key;
        var text = node.data.text;
      }
原文地址:https://www.cnblogs.com/xxzb/p/13389126.html