Basic Primitives

Basic Primitives is a 100% JavaScript component library for building general purpose diagrams without manual nodes layout.

  • Increase font size
  • Default font size
  • Decrease font size

Children Placement Type

Children Placement Layout can be defined individually per item or globally for all chart items. Following chart and item config properties are used to define layout of children:

  • childrenPlacementType - this property is available for chart and for individual items, it defines shape of children with enumeration primitives.common.ChildrenPlacementType it provides following options Vertical, Horizontal & Matrix
  • leavesPlacementType - this option is available only at global chart level and it is used to control children layout having no sub children, so it is only for children of the last level in hierarchy.
  • maximumColumnsInMatrix - by default children in matrix are shaped into square, in order to form them into rectangular shape you have to limit maximum number of columns in matrix, so rectangular shape would grow vertically.

  

 

Do you need?

Diagrams
 

Do you use?

JavaScript Frameworks
 

Do you use?

PDF & Image Export Support