wimrijnders
ff5916dc8e
Set dimensions properly of images on initialization. ( #3205 )
* Set dimensions properly of images on initialization.
Fix for #3203
Image nodes were assigned the default size on initialization, leading to very compressed images.
This fix adjusts the default size as soon as the images used have been loaded.
The approach for dealing with this has been adapted from `CircularImage`.
* Fixed tabs
7 years ago
wimrijnders
a820ec4b77
Refactoring of Node Drawing ( #3170 )
* Consolidated common code for drawing in nodes
* Consolidated updateBoundingBox(), default version
* Setting bounding box margin in separate method
7 years ago
wimrijnders
9a564417d0
Fixes for loading images into image nodes ( #2964 )
* Add warnings and errors for image loading
* Fixes and commenting for image loading
* Fix typo
* Small fixes due to review
7 years ago
wimrijnders
bf80a902f2
Avoid overriding standard context method ellipse() ( #3072 )
7 years ago
wimrijnders
f67d16c963
Fix #2922 : bold label for selected ShapeBase classes. ( #2924 )
7 years ago
wimrijnders
1ae1e15a50
Network: use separate refresh indicator in NodeBase, instead of width… ( #2885 )
* Network: use separate refresh indicator in NodeBase, instead of width parameter
* Added usage of iBaseNode.doRefresh to image shapes.
* Rearranged code in NodeBase.needRefresh()
* Fixes for review
* Removed strange link
* Added 's' in needsRefresh(); typo fix
* Fixes for review, code cleanup
* Modified ratio calc to original working.
* Made code in CircularImage.resize() more sensible.
7 years ago
Guilhem Soulas
66a67727ac
feat(network): Allow for image nodes to have a selected or broken image ( #2601 )
7 years ago
David Anderson
2e5c620351
fix(network): #2589 vertically center label in network circle node ( #2593 )
7 years ago
David Anderson
100f47a9b7
fix(network): #2591 self reference edge should now appear in all cases ( #2595 )
* self reference edge should now appear in all cases
* add checks for shape width being NaN to get correct circle data
* reorder resize arguments in Diamond, Dot and Star
7 years ago
mnishimura
f1bd8ce8d9
values should be passed to check values.borderDashes ( #2599 )
7 years ago
David Anderson
becf18e6eb
feat: change styles if element is selected ( #2446 )
* element characteristic changes
* assume edge color inheritance is correct before choosing
* Adjust nodes’ chosen’s boolean -> bool
* Need to get user-reset size
* make example edges thicker for more noticeable shadow
* preemptive ES6 fix (see #2500/#2501)
* documentation for the feature that was previously overwritten
7 years ago
David Anderson
8a9edbbf87
fix: Font styles and width and height of nodes ( #2385 )
* Multifont node and edge labels
* adjust documentation
* rework mod-font property inheritance
* Node max/min widths, min heights; Edge max widths
* Accumulate sizes correctly for unconstrained multipoint labels
* handle font.multi when groupOptions.font is not declared
* propagate label fonts on changes, not just creation
* Allow top-level constraint numbers
* accumulate width and empty lines appropriately
8 years ago
David Anderson
b31ae149f0
label margins for box, circle, database, icon and text nodes. ( #2343 )
8 years ago
Chas Honton
dd3639f2ad
decrease whitespace in ellipses having long text
8 years ago
Alex de Mulder
c32aa90a91
Fixed #1597 : Allow zero borders and addressed scaling artifacts.
unified border calculation. Needs to be centralized to avoid duplication.
8 years ago
Alex de Mulder
6e9e4cc3d5
- Altered edges for arrows and added the arrowStrikethrough option.
8 years ago
Alex de Mulder
d7eee2275c
made database shape box a rectangle
8 years ago
Alex de Mulder
53cc2f62ba
Fixed #1531 , #1335 : border distances for arrow positioning
8 years ago
Alex de Mulder
11318647fe
added images with borders and updated the manipulation css
9 years ago
Alex de Mulder
7a6246ecc2
- Fixed bug where a box shape could not be drawn outside of the viewable area.
9 years ago
Alex de Mulder
db05c2bd15
- Fixed arrows to icon, text and circularImage shapes
9 years ago
Alex de Mulder
fd48470add
- Fixed arrows with some shapes when they are selected. #1292
9 years ago
Alex de Mulder
1b381ecf93
Release 4.6.0
9 years ago
Alex de Mulder
469b3b9ee2
- Added #931 , borderRadius in shapeProperties for the box shape.
9 years ago
AlexDM0
5beeca1236
- Fixed #1112 , network now works in firefox on unix again.
9 years ago
Zuko Mgwili
27a875a690
Corrected the shapeProperties.borderDashes property type description
Changed shapeProperties.borderDashes type description from "Object or Boolean" to Array or Boolean".
Merged circularImageWithDashedBorder example into shapesWithDashedBorders example.
Added enableBorderDashes and disableBorderDashes function calls to Database.js, Ellipse.js and Box.js, to enable/disable dashed borders.
9 years ago
Alex de Mulder
3ab17e2cb0
Fixed node resizing on dragging.
9 years ago
Alex de Mulder
47d52827f5
Fixed #1039 , icon now returns correct distance to border
9 years ago
AlexDM0
0cf8c4aae0
- Fixed updating bounding box of nodes without drawing.
9 years ago
Alex de Mulder
3f6b206a1f
fixed bug in circular images, moved examples
9 years ago
Alex de Mulder
c3883970e4
numerous bugfixes, partial progress with examples
9 years ago
Alex de Mulder
ccbdd46cc4
fixed bounding box bug, added function filter to configuration system
9 years ago
jos
ad088cde4d
Updated examples 1 to 13
9 years ago
Alex de Mulder
d600bf71c0
implemented error notification when not giving an unicode for the icon
9 years ago
Alex de Mulder
6393f3eda1
added shadow option to nodes and edges
9 years ago
jos
7248587d67
Removed spam
9 years ago
jos
6c61e7b418
Renamed Network modules to capital first letter
9 years ago
Alex de Mulder
54c5498e4f
improved (circular) images size handling and label positions
9 years ago
Alex de Mulder
5f4ebd0794
patched redraw requests with image load callbacks during stabilization. Fixed size option correctly working for images and circular images.
9 years ago
Alex de Mulder
b62d536fe7
updated group options, icon api change
9 years ago
Alex de Mulder
5c54f27f12
renamed all node and edge files, added diamond shape, tweaked shapes to always align and center all shapes. this improves the labelling
9 years ago
Alex de Mulder
9cd6c4ae06
fixed images, groups, circular images, repeating events
9 years ago
Alex de Mulder
2152bd64ce
clustering now using new visibility model, ripped edges apart, arrows not yet functional
9 years ago