JSON.stringify 格式化输出字符串

JSON.stringify(graph.toJSON(), null, "	")

  

原文地址:https://www.cnblogs.com/winyh/p/14098180.html