DudeGraph is a graphic tool to allow users to create content from a simple node-based interface. You can use dude-graph to create your own graphical language! And offer the ability to create new content without programming.
DudeGraph is a set of two Polymer elements: dude-graph
and dude-graph-editor
dude-graph
manipulates the editor and allows to create/remove groups and blocks, zoom to fit and edit selected block properties.
dude-graph-editor
represents the SVG node-based interface, handles groups and blocks drag and drop and connection linking between block points.
bower install --save dude-graph
git clone https://github.com/dudeteam/dude-graph.git
cd dude-graph/
npm install && bower install
gulp
That's perfectly fine, you can achieve the same result as with Polymer, feel free to explore the elements dude-graph
and dude-graph-editor
to see what's under the hood.
If you want to contribute, run the following command to test dude-graph:
gulp
Then open your favorite browser:
http://localhost:8080/components/dude-graph/
for the Polymer documentation
http://localhost:8080/components/dude-graph/demo/
for the demo.
Note: gulp
will minify and concat all the sources in lib/ into the root script file dude-graph.js
and will start polyserve
on the default port (8080)