Options
All
  • Public
  • Public/Protected
  • All
Menu

With node circle menu you can add, edit, remove node or create clink/slink with drga and drop. Before setting this option make sure that you defined nodeCircleMenuButton in the ysed template.

var chart = new OrgChart('#tree', {
nodeCircleMenu: {
editNode: {
icon: OrgChart.icon.edit(24, 24, '#aeaeae'),
text: "Edit node",
color: "white"
},
addClink: {
icon: OrgChart.icon.link(24, 24, '#aeaeae'),
text: "Add C link",
color: '#fff',
draggable: true
}
}
});

See doc...

Hierarchy

  • circleMenu

Indexable

[key: string]: { color?: string; draggable?: boolean; icon?: string; text: string }
  • Optional color?: string
  • Optional draggable?: boolean
  • Optional icon?: string
  • text: string

Legend

  • Constructor
  • Property
  • Method
  • Static property
  • Static method

Settings

Theme

Generated using TypeDoc