{"repo":"NorthwoodsSoftware/gojs-react","free":true,"listed":false,"github":"https://github.com/NorthwoodsSoftware/gojs-react","clone":"git clone https://github.com/NorthwoodsSoftware/gojs-react.git","description":"A set of React components to manage GoJS Diagrams, Palettes, and Overviews","language":"TypeScript","stars":251,"topics":["gojs","diagram","react","react-components"],"license":null,"category":"ui-components","readme_excerpt":"gojs-react By Northwoods Software for GoJS This project provides React components for GoJS Diagrams, Palettes, and Overviews to simplify usage of GoJS within a React application. See the gojs-react-basic project for example usage and the Intro page on using GoJS with React for more information. Some more detail on the implementation of these components can be found here. Installation gojs-react can be installed via NPM or used via CDN. This package has peer dependencies on GoJS and React, so make sure those are also installed or included on your page. NPM CDN Usage This package provides three components - ReactDiagram, ReactPalette, and ReactOverview - corresponding to the related GoJS classes. The gojs-react-basic repository provides example usage. Feel free to use these components as examples for setting up your own React components for GoJS. If you'd like to do so, we suggest reading more about the implementation of these components here. Component Props initDiagram/initPalette/initOverview Specifies a function that is reponsible for initializing and returning a GoJS Diagram, Palette, or Overview. This is where the model and templates should be instantiated. Node and link data do not need to be set up here, as they will be passed in as separate props. In the case of an Overview, this is an optional property and when not provided, an Overview with default properties and centered content will be created. divClassName Specifies the CSS classname to add to the rendered div. Th","default_branch":null,"files":null,"tree":[],"storefront":"/r/NorthwoodsSoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NorthwoodsSoftware/gojs-react/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}