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

3.0.0 • Public • Published

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

  1. .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.

  1. metadata.json

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

  1. package.json

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

  1. tsconfig.json

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

  1. user.json

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

  1. 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

  1. 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.

  1. editor

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

  1. 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.

  1. nodes

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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

0

Version

3.0.0

License

MPL-2.0

Unpacked Size

3.57 kB

Total Files

2

Last publish

Collaborators

  • lukefinch
  • andrewattokensstudio
  • jorenbroekema
  • popdrazvan
  • six7