Skip to content

owens2024/bootstrap-orgchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap 3.0 Org-Chart

This is a work in progress.

This project spawned because I needed an org chart that worked responsively. Since org charts tend to be quite wide, this is a particular challenge.

This code uses JS to create a basic DOM structure from a simple JSON object that describes the organization. CSS pseudo-elements are used to draw the lines between the nodes.

Demo

Demos

Requirements

  • jQuery
  • Bootstrap 3.0

Usage

Quick Start

  • Include orgchart.js and orgchart.css on your site. (or customize the orgchart.scss)
  • Call OrgTree.makeOrgTree(element, data)
  • element must be a jQuery reference to the element you want to contain the chart
  • Data is an object with a label and children
  • More Documentation

To-dos

  • Wide and narrow examples
  • Unit tests

About

A responsive orgchart using bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published