Go语言中文网 为您找到相关结果 1

go.js模型样式选择

一、使用官方样式 样式(shapes)地址:http://gojs.net/latest/samples/shapes.html 使用方法: myDiagram.nodeTemplateMap.add("End", $(go.Node, "Spot", nodeStyle(), $(go.Panel, "Auto", $(go.Shape, "Circle", // 在此处设置样式 { minSize: new go.Size(40, 40), fill: "#DC3C00", stroke: null }), $(go.TextBlock, "End", { font: "bold 11pt Courier New,Microsoft Yahei", stroke: lightText }...阅读全文

博文 2017-03-10 07:00:50 孟飞阳