Skip to content

Commit

Permalink
feat(node-shapes): add image padding option to image node shape (#106)
Browse files Browse the repository at this point in the history
* Introducing image shape image padding, in dist/vis-network.js

* #105 make example nodes more distant to avoid overlapping

* Added image padding support for the image shape (#105)

* Nodes doc updated with imagePadding (#105)

* Typo in comment fixed (#105)

* dist rebuild (#105), node modules updated

* imagePadding added to options check and default options (#105)

* dist regenerated after imagePadding added to default options (#108)

* Nodes doc update, imagePadding added to full options tab (#105)

* SVG file patched, added width/height attributes as workaround for Firefox SVG drawing bug (No 700533) (#105)

* imagesWithBordersAndPadding.html exapmle added to examples overview page (#105)

* fixed code formatting (#105)

* dependencies turned back dut to review #106 (comment) (#105)

* removed bolssom.svg due to review #106 (comment) (#105)

* fixed border appearance in example (#105)
  • Loading branch information
r3code authored and Thomaash committed Sep 3, 2019
1 parent 5f39702 commit 7e4aff6
Show file tree
Hide file tree
Showing 17 changed files with 9,124 additions and 7,795 deletions.
1,044 changes: 1,013 additions & 31 deletions dist/types/network/Network.d.ts

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions dist/vis-network.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,28 +453,6 @@ div.network-navigation_wrapper {
}
*/

div.vis-tooltip {
position: absolute;
visibility: hidden;
padding: 5px;
white-space: nowrap;

font-family: verdana;
font-size:14px;
color:#000000;
background-color: #f5f4ed;

-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border: 1px solid #808074;

box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
pointer-events: none;

z-index: 5;
}


div.vis-color-picker {
position:absolute;
Expand Down Expand Up @@ -653,6 +631,28 @@ div.vis-color-picker input.vis-range-brightness {
div.vis-color-picker input.vis-saturation-range {
width: 289px !important;
}*/
div.vis-tooltip {
position: absolute;
visibility: hidden;
padding: 5px;
white-space: nowrap;

font-family: verdana;
font-size:14px;
color:#000000;
background-color: #f5f4ed;

-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border: 1px solid #808074;

box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
pointer-events: none;

z-index: 5;
}

div.vis-network div.vis-navigation div.vis-button {
width:34px;
height:34px;
Expand Down
Loading

0 comments on commit 7e4aff6

Please sign in to comment.