Eric Gillingham
aa58fe83a6
Undo local CSS changes for an easier upstream merge
11 years ago
Eric Gillingham
4beee1f290
Create ItemRangeOverflow item type
Overflow simply extends ItemRange with a new getWidth() function that
determines if the content of the range is wider than the range box
itself.
This did require adding a getWidth() function to the Item object that
always just returns this.width, and adjusting Stack.js to use the new
getWidth() function instead of item.width
11 years ago
josdejong
15a4ac5265
Fixed #6 : options `min` and `max` are broken.
11 years ago
Fedor Tirsel
251d4e552f
Custom time bar as a component
11 years ago
josdejong
0a2cbdff14
Fixed #18 : Not loading hammer.js when running on node.js
11 years ago
Fedor Tirsel
a2498f0f6c
Current time bar as a component
11 years ago
Eric Gillingham
0fd77437b7
Fix typo in moment conversion
11 years ago
Eric Gillingham
2728e4ae30
Fix dataSet parsing of Moment objects
Calling just moment.clone() won't do anything but error. Since moment.isMoment(object) guarantees object is already a moment instance, just calling moment(object) will clone
it per the moment docs http://momentjs.com/docs/#/parsing/moment-clone/
11 years ago
Eric Gillingham
68259d8d67
Fix DataSet Moment conversion. Calling object.clone() will fail if
object is already a moment instance. Calling moment(object) will clone
it per tehe moment docs http://momentjs.com/docs/#/parsing/moment-clone/
11 years ago
josdejong
1b2292c1da
A fix calculating the size of a node when the range is empty
11 years ago
josdejong
3be9da2a4b
Fixed non-working scroll on FF
11 years ago
josdejong
51ba149803
Updated vis overview image
11 years ago
josdejong
85c77a6157
Fixed naming of translation functions
11 years ago
josdejong
0f19f6499f
A fix in dragging nodes in the graph around
11 years ago
josdejong
6ff96bb8a9
A fix in dragging nodes in the graph around
11 years ago
josdejong
430361a491
Implemented multi select nodes in graph using long press
11 years ago
josdejong
7011fe20b3
Implemented full touch support for Graph using hammer.js
11 years ago
josdejong
b8e8bf7141
Fixed #11 : initial empty range in the Timeline in case of a single item
11 years ago
josdejong
c6c8aab669
Fixed missing space between className classes. (See #7 )
11 years ago
josdejong
1c200f7dfc
Fixed #7 : className not working for items
11 years ago
Eric Gillingham
94f6e365d0
Add a new moveTo function to range to allow a program to recenter the
timeline on any given date.
11 years ago
Eric Gillingham
3c5983c78c
Add a new moveTo function to range to allow a program to recenter the
timeline on any given date.
11 years ago
josdejong
8643fdcc91
Renamed DataSet option fieldTypes to convert, and renamed util.cast to util.convert
11 years ago
josdejong
6b7a305dc5
Manipulation methods of DataSet now return a list with the ids of the affected items.
11 years ago
josdejong
559e4d4dca
Improved casting of dates
11 years ago
josdejong
fd9f2aacbd
Fixed selection of nodes in the Graph when the page is scrolled down
11 years ago
josdejong
620bc9e3cb
Implemented grouping support in the Timeline
11 years ago
josdejong
b542d43d12
Improved hiding non visible items in Timeline
11 years ago
josdejong
7ad93c9ff7
Graph is robust now against edges connected to non existing nodes
11 years ago
josdejong
e79d816b0e
Fixes and improvements in DOT parser regarding subgraphs
11 years ago
josdejong
7c3ed40536
Graph now uses an id based set of nodes and edges instead of a row based array internally, and supports DataSet
11 years ago
Eric Gillingham
812dee30ac
Change range content to overflow nicely if the range width is smaller
than the width of the text. This prevents range items with longer text
lines from being completely hidden.
Also update the stacking collision check to handle this case so that the
overflowed text is not hidden by another item.
11 years ago
josdejong
37ea6eaa9e
Implemented support for id:port in DOT parser
11 years ago
josdejong
9e161ef381
Minor improvements in the DOT parser, better error handling
11 years ago
josdejong
b0dda31e6d
Implemented subgraphs in the DOT parser
11 years ago
josdejong
d34b93d16f
First steps in supporting subgraphs in DOT parser
11 years ago
josdejong
b3d2a1499a
Implemented support for node sets in DOT parser
11 years ago
josdejong
2a4877175d
Added support in DOT parser for attributes with namespaces (like color.border=red)
11 years ago
josdejong
44562dc205
DOT parser does now maintain order of nodes, is returned as an array instead of a map
11 years ago
josdejong
5dbd9f0135
Renamed options for dashed lines in Graph
11 years ago
josdejong
c1b7103618
Graph: renamed shape 'rect' to 'box', changed default shape to 'ellipse'.
11 years ago
josdejong
6f9a1f566c
Implemented ellipse shape in Graph
11 years ago
josdejong
d17266cead
DOT parser didn't like `\r` characters
11 years ago
josdejong
73b5d8b3cd
Removed border and background options for the frame (should be done using css)
11 years ago
josdejong
c099dcb9af
Changed color options to an object with properties for border, background, and highlight color.
11 years ago
josdejong
4e85624cce
Added examples from Graphviz gallery
11 years ago
josdejong
7f7e260e9e
Renamed line style `arrow` to `arrow-center`, and `arrow-end` to `arrow`.
11 years ago
josdejong
0922851d46
Some fixes in the DOT parser
11 years ago
josdejong
4805f0e6d5
DOT parser rewritten
11 years ago
josdejong
bbb8e086c9
Renamed Graph property style to shape, and text to label
11 years ago