the-graph
the-graph copied to clipboard
SVG custom elements for FBP graph editing and visualization. Used in noflo/noflo-ui
Happens at least on Travis CI. For example: https://travis-ci.org/flowhub/the-graph/builds/454191240 Because of this they are currently disabled in Grunt.
**Changes proposed** When dragging a node it collide with another nodes disturbing the drag functionality. This implementation resolve it letting the dragging more smooth, without collisions.
tv4 doesn't seem to be used at all in the source code, so removing the dependancy.
I am getting a `TypeError: editor.addErrorNode is not a function` when trying to mark nodes as error (as shown in `demo-full.html`).
Implement interactive thumbnail. It should allow for the viewport movement using the thumbnail. Thumbnail should indicate the viewport relative to the whole graph. Used to work in previous version [here](https://flowhub.github.io/the-graph/examples/demo-full.html).
When playing with `the-graph`, trying to rapidly drag random nodes, quite often the drag operation doesn't happen, and in the JS console `Nested transactions not supported` appears. What are these...
1. Go http://the-grid.github.io/the-graph/the-graph-editor/index.html 2. Run script below: ``` js var editor = document.getElementById('editor'); editor.nofloGraph.addNode('test_id_1', 'dom/GetElement', { label: 'Test', x:0, y: -100 }); editor.nofloGraph.addNode('test_id_2', 'core/Split', { label: 'Test2', x: 100, y:...
Fixed mouse offsets in all events. You can see issue when place the-graph in some position, not (0,0). In mouse events (context menu) there was not offset calculated, so context...
When dragging a node/port with mouse (Chrome OS 60), you sometimes get a canvas pan, sometimes the desired action. With touch it works reliably. It seems a Hammer.js issue (hammerjs/hammer.js#1113,...
Currently, the touch gestures in `the-graph` are broken in IE11 (both metro and desktop): - Panning doesn't pan - Nodes can't be dragged - Connections can't be made - Pinch-zoom...