ANDREYDEN / GraphEditor

A graph editor in processing with some visual algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A graph editor in processing with some visual algorithms


Languages

Language:Processing 100.0%