josdejong
6cd1e21714
Replaced Item.getWidth with a normal property, and ItemRangeOverflow makes a special property with getter/setter
11 years ago
josdejong
3e5e1f162b
Changed request-reflow and request-repaint into events
11 years ago
josdejong
2feb514a2a
Implemented dragging items
11 years ago
josdejong
7e6810955d
Switched to 2-space indentation
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
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
1ecb550d59
Moved the source files around
11 years ago
josdejong
4eed201768
Renamed source files to match the name of the containing prototype
11 years ago
josdejong
a06814d7f1
Some more decoupling of components options
11 years ago
josdejong
309564e367
Changed propagation of options in components to a prototype based solution
11 years ago
josdejong
714a39ec03
Renamed some properties for more clarity
11 years ago
josdejong
8ac893855c
Halfway implementation of groups
12 years ago
josdejong
58a6831619
Some obvious performance improvements
12 years ago
josdejong
040e53b2ee
Only visible items are rendered now
12 years ago
josdejong
c5d7a9a9a5
Isolated the local classes in a single namespace (using commonjs for referring local classes does not work that handy)
12 years ago
josdejong
6590e2cd2e
Applied node style dependency management, using browserify now to bundle the code
12 years ago
josdejong
3e4e9313e3
Using vis as internal namespace now. All module related stuff is now located on a single place, in module.js
12 years ago
josdejong
5c14597bb9
Implemented namespacing, closure, and support for require.js
12 years ago
josdejong
45afd42252
Initial import
12 years ago