Skip to content
forked from tldraw/tldraw

A whiteboard for understanding/explaining a codebase

License

Notifications You must be signed in to change notification settings

seflless/cognize

 
 

Repository files navigation

Cognize

Cognize: to perceive, know, or become aware of. (verb)

What is cognize?

Cognize is a VS Code extension that allows you to create and version control diagrams.

It is a general diagramming tool, but with a focus on working with a local codebase.

Installing The VS Code Extension

  1. Install from the Marketplace (TODO Publish it and link to it here)
  2. Or go to extensions in VS Code and search for "Cognize"

Local development

If you want to run it from source...

To run the local development server, first clone this repo.

Install dependencies:

yarn

Start the local development server:

yarn dev

Open the example project at localhost:5420.

Publishing:

Publishing Extensions

About this repository

It's based on the awesome Tldraw project. All documentation below is about packages and such that we will not try to change, so it's easier to update from the upstream tldraw repo.

Top-level layout

This repository's contents is divided across four primary sections:

  • /apps contains the source for our applications
  • /packages contains the source for our public packages
  • /scripts contains scripts used for building and publishing
  • /assets contains icons and translations relied on by the app

Applications

Packages

  • editor: the tldraw editor
  • ui: the editor's user interface
  • tldraw: the main tldraw package containing both the editor and the UI
  • primitives: low-level primitives for working with vectors and geometry
  • tlschema: shape definitions and migrations
  • tlsync-client: a library for (locally) syncronizing editor instances
  • tlstore: an in-memory reactive database
  • tlvalidate: a validation library used for run-time validation
  • tlassets: a library for working with tldraw's fonts and translations
  • file-format: a library for working with tldraw's .tldr file format
  • utils: low-level data utilities shared by other libraries

Community

Have questions, comments or feedback? Join our discord or start a discussion.

Distributions

You can find tldraw on npm here.

License

The source code for various apps and packages in this repository (as well as our 2.0+ distributions and releases) are currently licensed under Apache-2.0. These licenses are subject to change in our upcoming 2.0 release. If you are planning to use tldraw in a commercial product, please reach out at hello@tldraw.com.

Contribution

Please see our contributing guide. Found a bug? Please submit an issue.

Note: we are currently unable to accept contributions on the @tldraw/tldraw or @tldraw/editor packages while we work out our final licensing.

Contact

Find us on Twitter at @tldraw or email hello@tldraw.com. You can also join our discord for quick help and support.

About

A whiteboard for understanding/explaining a codebase

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.8%
  • CSS 3.7%
  • JavaScript 2.4%
  • Other 0.1%