Coder Social home page Coder Social logo

macromachines / juce-graph-component Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hkarim/juce-graph-component

0.0 2.0 0.0 3.98 MB

JUCE Framework Graph editing and visualisation

License: MIT License

C 25.91% C++ 69.38% Objective-C++ 3.74% Java 0.75% Objective-C 0.22%

juce-graph-component's Introduction

JUCE Graph Component

This is a JUCE Framework set of components that allows drawing a graph by connecting nodes and edges. The component is inspired by the plugin host demo application that comes with JUCE, but this one is a different implementation.

Features

  • Each node can be scaled individually, zoom-in cmd + '+', zoom-out cmd + '-', or zoom to original scale cmd + '0'
  • Multi-select using keyboard or mouse is supported
  • Special type of node that can host any component
  • Backed by a simple graph that supports communication between nodes
  • Sample application to preview the component and how to use it
  • Very simple theming for changing the overall components look and feel

Demo Application

  • Right-click on the demo window to add example nodes, and drag pins to create edges
  • Click and drag on the window to select multiple nodes and edges
  • To scale a node, select it and hit cmd + '+', cmd + '-' or cmd + '0'
  • Delete a node or edge by selecting it and hit delete or backspace
  • Duplicate a node using cmd + 'd', duplicating host nodes is not supported yet

Building

The following steps are tested only on macOS:

  • You will need a C++14 compiler
  • Use the provided graph-viewer.jucer to generate a project for your platform or use the provided XCode project
  • If you are generating a project from the jucer file, make sure you setup the correct JUCE modules paths correctly

License

MIT

juce-graph-component's People

Contributors

hkarim avatar jonathonracz avatar

Watchers

James Cloos avatar Nico Raftis 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.