| Age | Commit message (Collapse) | Author |
|
Fixes #308
Hack for friday. Hack being that the model Node gets a 'zoom_obj'
property. This belongs on a new NodeView class that will contain a
reference to the node and the zoom object.
Also I'm worried about performance of this (well, just a little), have not tested with
something large yet.
|
|
|
|
Note that using 'on' overwrites the previous callback, using namespaces
('zoom.graph_view') doesn't help. So store the previous callback (the
zoom function in rz_core in this case) and apply it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object.defineProperty
|
|
|
|
|
|
|
|
|
|
when selected
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Should have two functions for node+link class setting, one for
temporary, one for not, instead of passing this constant (since
construction time) value along.
|
|
|
|
|
|
|
|
|
|
Note about implementation: we currently update all the nodes for
multiple things, we should not do that, we have id's on each node, we
can do less work. Another option is using the visualdom and letting it
do the diffs. Actually we should test first. Which brings me to the
missing functionality of loading a large csv.
|
|
(need proper replacement?)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit f17c7d27b510c033aa2861598e49a90c56aa9a13.
|
|
|
|
Fixes #220
|
|
|
|
|
|
|
|
not undefined (undefined not appropriate for this case.
|
|
This is a hack, here is the code comment:
FIXME: should not do a server roundtrip, should keep this data local
and part of the temporary graph, and send it on user enter in a single commit.
The current implementation is just a quick way to get sorta the same outcome.
it misses atomicity (since we create a commit for every tab click on an existing node),
and responsiveness (since there is a roundtrip to the server and it isn't client side)
|
|
|