Socket
Book a DemoInstallSign in
Socket

@tokens-studio/graph-engine-example-workspace

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokens-studio/graph-engine-example-workspace

Example workspace for the graph engine

3.0.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Graph Engine VS Code example workspace

This is an example workspace showing an idealized layout for the system as well as examples of settings to help a user organize their graph materials easily

Breakdown

│   .tsgraphrc
│   metadata.json
│   package.json
│   tsconfig.json
│   user.json
│
├───assets
│   └───audio
│           example.wav
│
├───capabilities
├───editor
│   ├───controls
│   ├───icons
│   ├───nodes
│   └───previews
├───graphs
│   └───test
│           graph.metadata.json
│           graph.tsGraph
│
├───nodes
└───schemas

Let's step through each of these files to explain their function

  • .tsgraphrc

This identifies the root of the graph project. It contains information on how to find other code files and assets. It also stores version information about the project. Note that this is independent of the package.json version and is used to identify the versioning of the project layout, not the actual code.

  • metadata.json

This is a file which stores global level metadata for the project such as editor config, logs , etc.

  • package.json

This is your standard nodejs package.json file. Install your custom nodes, etc here.

  • tsconfig.json

This is used to support typescript based projects. You do not need to use typescript and can delete this if you wish.

  • user.json

User specific project info. This should be gitignored and represents info about you as a user such as theming, etc.

  • assets

This folder is used to store assets for binary or text files. You can potentially lock down file based interactions in a graph to only view the assets folder

  • capabilities

Capabilities are graph level libraries that can be used to abstract away complexity and blackbox complicated mechanisms, such as file system interactions which might vary greatly depending on the platform where the graph is being executed.

  • editor

The editor folder contains code specific to your editing experience within the UI.

  • editor/controls

Controls are used to interact with the ports on a node. These could potentially be very complicated or specific to a use case, so you can either create a new control or override an existing control here.

  • nodes

You can create your own custom nodes and store them here. The nodes will be made available to your graphs

FAQs

Package last updated on 07 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.