我使用Flowchart
來自http://gojs.net/latest/samples/flowchart.html,它工作正常。唯一的問題是,它不是t display the toolbar symbols which are shown in the example. Have someone used
流程圖,也有同樣的問題?Javascript - GoJS流程圖
var $ = go.GraphObject.make;
myPalette =
$(go.Palette, "myPaletteDiv", // must name or refer to the DIV HTML element
{
"animationManager.duration": 800, // slightly longer than default (600ms) animation
nodeTemplateMap: myDiagram.nodeTemplateMap, // share the templates used by myDiagram
model: new go.GraphLinksModel([ // specify the contents of the Palette
{category: "Start", text: "Start"},
{text: "Step"},
{text: "???", figure: "Diamond"},
{category: "End", text: "End"},
{category: "Comment", text: "Comment"}
])
});
問題
你看到在你的開發者控制檯的任何錯誤? –