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.

  

 

Comments 

 
#10 Administrator 2017-08-28 07:30
Quoting Viktar:
"Is there a way to apply this option to famdiagram also? If currently it's not possible than is there plans to include this feature in future releases?" This question is still actual.

It is not clear how to layout children when they partially belong to several parents having distinct children layout options. This option will trigger a lot of non resolvable bugs.
Quote
 
 
#9 Viktar 2017-08-26 16:23
"Is there a way to apply this option to famdiagram also? If currently it's not possible than is there plans to include this feature in future releases?" This question is still actual.
Quote
 
 
#8 OmarDavila 2016-08-22 05:45
Quoting Administrator:
Quoting OmarDavila:
Is possible add a label o a description text ? I need the title and a other text, but I add a variable label or description in the newprimitives.orgdiagram.ItemConfig and I can't see it :(


PS: Thanks again

See Labels in How To Use and Labels options in Cross Functional Team demo. Down Demo.zip in order to see sources of demos.
Thanks


Thanks again!
Quote
 
 
#7 Administrator 2016-08-19 06:07
Quoting OmarDavila:
Is possible add a label o a description text ? I need the title and a other text, but I add a variable label or description in the newprimitives.orgdiagram.ItemConfig and I can't see it :(


PS: Thanks again

See Labels in How To Use and Labels options in Cross Functional Team demo. Down Demo.zip in order to see sources of demos.
Thanks
Quote
 
 
#6 OmarDavila 2016-08-19 05:21
Is possible add a label o a description text ? I need the title and a other text, but I add a variable label or description in the newprimitives.orgdiagram.ItemConfig and I can't see it :(


PS: Thanks again
Quote
 
 
#5 Administrator 2016-08-18 11:33
Quoting OmarDavila:
Woh I can clean the #basicdiagram to draw another diagram whitout refesh the page? I'm ussing Javascript

You don't need to clean. You have to call jQuery("#placeholder").orgDiagram({/*your options here*/});
jQuery("#placeholder").orgDiagram("update", primitives.orgdiagram.UpdateMode.Refresh);
See Adding new items to chart at runtime.
Quote
 
 
#4 OmarDavila 2016-08-18 11:04
Woh I can clean the #basicdiagram to draw another diagram whitout refesh the page? I'm ussing Javascript
Quote
 
 
#3 Administrator 2015-12-13 10:06
If you need to test layout options of the chart. Try "Demo Editor", it is simplest and fastest way to test various layout combinations.
Quote
 
 
#2 Igor Cvetkov 2015-11-16 11:31
Hi!

Is there a way to apply this option to famdiagram also? If currently it's not possible than is there plans to include this feature in future releases?
Quote
 
 
#1 Matt Santucci 2015-06-08 09:16
I am using the "childrenPlaceme ntType: primitives.common.ChildrenPlaceme ntType.Matrix" on a parent and it was working ok untill on one of the children i used "itemType: primitives.orgdiagram.ItemType.SubAdviser", at which point the "Martix" layout did not work any more.

Is there a conflict with the Matrix style and the SubAdvisor?

Matteo
Quote
 

Add comment


Do you need?

Diagrams
 

Do you use?

JavaScript Frameworks
 

Do you use?

PDF & Image Export Support