Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7422

Change position in palette

$
0
0

@usernh wrote:

Hello.
Can I change this behavior?
Demo - https://streamable.com/7bnrd
I see examples and don’t find solution.

Example code:

myPalette =
      $(go.Palette, "myPaletteDiv",  // must name or refer to the DIV HTML element
        {
          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" },
            { category: "Conditional", text: "???" },
            { category: "End", text: "End" },
            { category: "Comment", text: "Comment" }
          ])
        });
  }

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7422

Trending Articles