A PCUI extension for creating node-based graphs
The PCUI Graph is a tool that allows users to create node-based visual graphs in the browser. It supports both undirected and directed graphs, as well as visual scripting graphs that contain nodes with input and output ports. Users can save their graphs to a JSON file and load them back into a new graph view at any time.
To install PCUI Graph into your npm project, you can use the following code snippets:
npm install pcui-graph
After installing the library, you can import the PCUI Graph build and its styling file into your project. Instantiate the graph as shown below:
import { PCUIGraph } from 'pcui-graph';
const graph = new PCUIGraph();
Alternatively, you can install the PCUI Graph library directly from npm using the command:
npm install pcui-graph
The npm package includes two builds of the library.
The PCUI Graph is a powerful tool for creating node-based visual graphs in the browser. Its features include support for different graph types, visual scripting capabilities, and the ability to save and load graphs. Installation is straightforward and can be done via npm. With the PCUI Graph, users can efficiently visualize and work with complex relationships and workflows in an intuitive and user-friendly manner.