4 min readUpdated Mar 2, 2026

NodeLibrary Documentation

Overview

The NodeLibrary is a feature within the Vantage analytics and data platform that serves as a centralized interface to manage and interact with various workflow nodes. This component allows users to explore, search, and add different types of nodes to their workflows, thereby enhancing the platform's functionality and usability.


Purpose

The primary purpose of the NodeLibrary is to facilitate the selection and addition of nodes to a workflow, categorized for easier navigation and accessibility. It provides a user-friendly interface where nodes can be searched, filtered by categories, and visually managed.


Settings

1. setLibraryInstantResize

2. onContentHeightChange

3. selectedServiceId

4. isApiBuilder


How It Works

The NodeLibrary operates by utilizing several internal hooks for managing its state, handling effects, and optimizing performance through memoization. The main functionalities include:

It expects a well-defined structure of nodes and categories from the workflow store, including properties for each node such as label, description, and category. The nodes are filtered based on search inputs and selected services to provide a dynamic library experience.


Data Expectations

The NodeLibrary expects the following data structure:


Use Cases & Examples

Use Cases

  1. Data Management: Users can leverage the NodeLibrary to quickly find and insert nodes related to data transformation and manipulation in a workflow, streamlining their data processing tasks.

  2. AI Integration: Developers working on AI solutions can easily access AI-related nodes through the library, making it simple to incorporate machine learning techniques into their workflows without extensive manual coding.

  3. Social Media Automation: Marketers can use the NodeLibrary to integrate various social media nodes into their workflows, automating posts and data gathering from different platforms.

Example Configuration

Use Case: Data Management

A data analyst is tasked with creating a new workflow to process incoming data and apply transformations. They need to utilize specific nodes related to data filtering and statistics calculation. Here's how the NodeLibrary might be configured:

json
{
  "setLibraryInstantResize": (resize) => { /* handle resize */ },
  "onContentHeightChange": (height) => { /* update layout */ },
  "selectedServiceId": "data-management",
  "isApiBuilder": false
}

The data analyst can type "filter" into the search field to quickly locate nodes related to filtering operations. Once they find the desired nodes, they can easily add them to their workflow, positioning them in a user-friendly manner using the dynamic grid layout facilitated by NodeLibrary.


This concludes the detailed documentation for the NodeLibrary. All components have been described with sufficient detail to facilitate effective understanding and utilization as part of the Vantage analytics platform.