vis: update network nodes image option (v4.21)

This commit is contained in:
Oleksii Kachura
2018-05-29 20:50:32 +02:00
parent 86fa899b1f
commit 65a7c854fe
+8 -2
View File
@@ -8,6 +8,7 @@
// Matthieu Maitre <https://github.com/mmaitre314>
// Adam Lewis <https://github.com/supercargo>
// Alex Soh <https://github.com/takato1314>
// Oleksii Kachura <https://github.com/alex-kachura>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { MomentInput, MomentFormatSpecification, Moment } from 'moment';
@@ -1691,7 +1692,7 @@ export interface Node {
x?: number;
y?: number;
fixed?: boolean;
image?: string;
image?: string | Image;
shape?: string;
color?: string | Color;
}
@@ -1760,6 +1761,11 @@ export interface Options {
physics?: any; // http://visjs.org/docs/network/physics.html#
}
export interface Image {
unselected?: string;
selected?: string;
}
export interface Color {
border?: string;
@@ -1819,7 +1825,7 @@ export interface NodeOptions {
id?: string;
image?: string;
image?: string | Image;
label?: string;