WireIt 3

WireIt is an open-source javascript library, built with YUI3,
to create full-web graph editors.

twitter follow on Twitter
GitHub fork on GitHub

Click here to lend your support to: wireit and make a donation at www.pledgie.com !

What's new ?

WireIt 3 is a complete rewrite of the previous versions of the library, using the YUI3 framework. It makes the library much more robust, flexible and customizable.

View details »

Guide

Learn everything necessary to work with the library.
A previous experience with the YUI3 library is highly recommanded. The guide is a work in progress. Please Help.

View the guide »

Fork on GitHub

Download, fork, pull, file issues, and more with the official WireIt repo on Github. You can still download the old 0.5.0 version.

Currently v3.0.0pr2

Download »

Was a complete rewrite of the library really necessary ?

Yes, and the new code speaks for itself. YUI3 has much more to offer than its predecessor. The goal of this rewrite was to build on the strong foundations YUI3 provides. Furthermore, version 3.5.0 of YUI includes a MVC-ish infrastructure, which is a perfect replacement for the old WiringEditor.

Why did you not just port the YUI 2.x code to its YUI 3.x equivalent ?

Simply because we were doing things badly... This was the perfect occasion to get rid of them. For example, our components were not using the AttributeProvider/EventProvider infrastructure. All the options handling had to be done manually, and was not simple to extend.

Is my WireIt 0.x code compatible ?

No ! WireIt 3 completely changes the API, although we tried to keep the same terminology for WireIt specific components.

Is it production ready ?

Not yet... We still have major issues on our core components and the API is not finalized yet. Your help is welcome !

What took you so long ?

Firstly, WireIt is a side project for me. So I only work on it in my free time. Secondly, we had an important dependency on the inputEx form library, which itself migrated to YUI3 pretty recently. Finally, I started this project to scratch my own itch, and I took time to look other similar projects as a replacement. I almost dropped the project, but finally made up my mind since no other projects had the features I wanted.

Benefits of the new architecture

  • Support for gestures events (drag'n drop now works on smartphone and tablets)
  • Configurations now uses AttributeProvider
  • Widget infrastructure : less code, comprehensible for YUI users
  • Extensions: leveraging WidgetParent/WidgetChild/WidgetStdMod/Stackable/Positionning and so on...
  • Making core components abstract: not limited to the canvas renderer ! (SVG coming soon ?)
  • Modularity: We split the core modules into several pieces that can be removed or replaced with your owns.
Core components examples
App examples
WireIt-based projects