Skip to content

Commit

Permalink
fix(node-color): prevent color from being overwritten when value is a…
Browse files Browse the repository at this point in the history
…lso set (#112)

* fix(node-color): prevent color from being overwritten when value is also set

Closes #111.

* chore(dist): update
  • Loading branch information
Thomaash authored Sep 3, 2019
1 parent 7e4aff6 commit b91bc4c
Show file tree
Hide file tree
Showing 14 changed files with 8,373 additions and 12,110 deletions.
10 changes: 5 additions & 5 deletions dist/types/network/Network.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,21 +772,21 @@ export interface Options {

clickToUse?: boolean;

configure?: any; // http://visjs.org/docs/network/configure.html#
configure?: any; // https://visjs.github.io/vis-network/docs/network/configure.html

edges?: EdgeOptions;

nodes?: NodeOptions;

groups?: any;

layout?: any; // http://visjs.org/docs/network/layout.html
layout?: any; // https://visjs.github.io/vis-network/docs/network/layout.html

interaction?: any; // visjs.org/docs/network/interaction.html?keywords=edges
interaction?: any; // https://visjs.github.io/vis-network/docs/network/interaction.html?keywords=edges

manipulation?: any; // http://visjs.org/docs/network/manipulation.html#
manipulation?: any; // https://visjs.github.io/vis-network/docs/network/manipulation.html

physics?: any; // http://visjs.org/docs/network/physics.html#
physics?: any; // https://visjs.github.io/vis-network/docs/network/physics.html
}

export interface Image {
Expand Down
10 changes: 5 additions & 5 deletions dist/types/network/modules/components/edges/util/edge-base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface FindBorderPositionCircleOptions {
* The Base Class for all edges.
*/
export declare abstract class EdgeBase<Via = undefined> implements EdgeType {
protected body: VBody;
protected labelModule: Label;
protected _body: VBody;
protected _labelModule: Label;
from: VNode;
fromPoint: Point;
to: VNode;
Expand All @@ -30,10 +30,10 @@ export declare abstract class EdgeBase<Via = undefined> implements EdgeType {
* Create a new instance.
*
* @param options - The options object of given edge.
* @param body - The body of the network.
* @param labelModule - Label module.
* @param _body - The body of the network.
* @param _labelModule - Label module.
*/
constructor(options: EdgeOptions, body: VBody, labelModule: Label);
constructor(options: EdgeOptions, _body: VBody, _labelModule: Label);
/**
* Find the intersection between the border of the node and the edge.
*
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b91bc4c

Please sign in to comment.