Giter VIP home page Giter VIP logo

grapheditor's Introduction

GraphEditor

A graph editor in Processing with some visual algorithms and physical movement (attraction/repulsion).

Example

example

Download Instructions

All the different releases can be found in the ./releases/<OS> folder.

Functionality

  1. Add a new node: right-click on an empty space.
  2. Select/Deselect nodes: left-click on the desired node. A selected node is always circled red.
  3. Connect nodes:
  • select the first node
  • left-click the second node
  1. Delete a node:
  • select the desired node
  • hit the del key
  1. Delete an edge: left-click on the edge nodes. Multi edges are not yet supported.
  2. Show Eulerian path animation: hit the e key (if there is no Eulerian path, the screen will flash red). You can read more about the Eulerian path here.
  3. Toggle physics: press the Physics button.

Note: Look out for the active node in order to prevent connecting something accidentally.

Inspiration

Inspired by CSAcademy's graph editor.

grapheditor's People

Contributors

andreyden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

grapheditor's Issues

Edge length

Edge length must be greater than a constant.

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.