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

Inactive items in layout

Inactive items are regular items excluded from navigation. For example they can be used to add departments titles into hierarchy or terminator items indicating number of available items for dynamic download and unfolding sub hierarchy.

Chart's API provides two ways to set inactive items. The first one is isActive option of ItemConfig options class and the second way is via template configuration. In majority of scenarios inactive items are supposed to have custom item template, so deactivating user interaction via item template is the most appropriate for application design. 

See following configuration classes:

  • primitives.orgdiagram.ItemConfig
  • primitives.famdiagram.ItemConfig
  • primitives.orgdiagram.TemplateConfig
  • primitives.famdiagram.TemplateConfig


They have following option:

isActive - If it is true then item having this template is selectable in hierarchy and it has mouse over highlight.

  

 

Comments 

 
#2 Administrator 2018-09-02 15:54
Quoting Jhonattan Solarte:
famDiagram don't call onItemRender :-? .
Don't work for me

See PERT ample it has template having custom item properties, it works, so it is indication that onItemRender event is correctly being called.
Quote
 
 
#1 Jhonattan Solarte 2018-09-02 14:09
famDiagram don't call onItemRender :-? .
Don't work for me
Quote
 

Add comment


Do you need?

Diagrams
 

Do you use?

JavaScript Frameworks
 

Do you use?

PDF & Image Export Support