4 ms·
Implemented on the front page of Directed Edge http://www.directededge.com/ http://www.directededge.com/
by FiReaNG3L 17y ago
Implemented on the front page of Directed Edge
http://www.directededge.com/ http://www.directededge.com/
- wheels 17y agoYes, thought the examples they give are all with static data. It took a fair bit of massaging (and using undocumented features) to get it work with dynamically querying data. The connection code is here for the curious: http://www.directededge.com/js/wikiviz.js http://www.directededge.com/js/wikiviz.js
- jacquesm 17y agothat's really pretty code! minor nitpick (and that's from someone that doesn't have as much js under his belt as you do, so please feel free to ignore) Your bracketing style has one risk, if you should ever drop a complete line before a code block it will still be valid. That has bitten me once. Nowadays with version control such mistakes are a lot easier to spot though. Old habits die hard :) Pretty code, really I'm going to have a good look at it later because this is roughly the kind of thing I had in mind while I was searching for a tree visualizer.
- wheels 17y agoThe code was only partly written by me, but actually we're not really JS wranglers -- we're C++ guys so we just kind of apply our C++ coding style to similar languages (JavaScript, Java, etc.) when we're working with them to the extent that that's possible.