Update remaining @comfyorg/litegraph references

This commit is contained in:
Benjamin Lu
2025-08-04 10:16:24 -04:00
parent 489b205bf5
commit 7f849e9a44
7 changed files with 13 additions and 68 deletions

View File

@@ -16,9 +16,9 @@ Some early highlights:
- Batch output connection move/disconnect (<https://github.com/Comfy-Org/litegraph.js/pull/39>)
- And now with hundreds more...
# Install
# Usage
`npm i @comfyorg/litegraph`
This library is included as a git subtree in the ComfyUI frontend project at `src/lib/litegraph`.
# litegraph.js
@@ -48,12 +48,12 @@ It can be integrated easily in any existing web applications and graphs can be r
- Easy to integrate in any JS application (one single file, no dependencies)
- Typescript support
## Installation
## Integration
You can install it using npm
This library is integrated as a git subtree in the ComfyUI frontend project. To use it in your code:
```bash
npm install @comfyorg/litegraph
```typescript
import { LGraph, LGraphNode, LiteGraph } from '@/lib/litegraph'
```
## How to code a new Node type