Coder Social home page Coder Social logo

maxschremser / gojs-angular-basic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from northwoodssoftware/gojs-angular-basic

0.0 1.0 0.0 1.54 MB

Simple project demonstrating usage of our GoJS/Angular components

License: Other

CSS 5.98% HTML 13.65% TypeScript 74.69% JavaScript 5.68%

gojs-angular-basic's Introduction

gojs-angular-basic

By Northwoods Software for GoJS 2.1

This project provides a basic example of using GoJS in an Angular app. Check out the Intro page on using GoJS with Angular for more information.

It makes use of the gojs-angular package to handle setting up Diagram, Palette and Overview components.

When running the sample, try moving / adding / deleting nodes, editing text in the inspector, relinking nodes via ports, undoing (Ctrl-Z), and re-doing (Ctrl-Y) within the diagram. You'll notice the changes are reflected in app-level data. You'll also notice that changes made in the inspector are reflected in the diagram.

Installation

Start by running npm install to install all necessary dependencies.

If you do not have Angular already globally installed, you may do so by running:

npm i -g @angular/cli

Running the project

In the project directory, run:

ng serve

Alternatively, if you do not have Angular installed globally, you may run:

npm run start

Runs the app in the development mode.
Open http://localhost:4200 to view it in the browser.

The page will reload if you make edits.

Learn More

To learn Angular, check out Angular's official site. To learn GoJS, check out gojs.net.

gojs-angular-basic's People

Contributors

dependabot[bot] avatar rjohnson465 avatar simonsarris avatar walternorthwoods avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.