@linkurious/ogma-linkurious-parser 4.2.1 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,12 +154,6 @@ export declare class StylesViz {
154
154
  * @param {Array<LKStyleRule>} shapeStyleRules
155
155
  */
156
156
  refreshEdgeShape(shapeStyleRules: Array<LKStyleRule<IEdgeStyle>>): void;
157
- /**
158
- * Get node radius
159
- * This is a workaround for an ogma issue where the radius of virtual nodes is always set to 5
160
- * TODO: check if this is still needed after ogma release the new improvement for transformation v5.X
161
- */
162
- private _getNodeRadius;
163
157
  /**
164
158
  * Calculate the scale of the pin badge related to the node radius
165
159
  * This is useful when dealing wih huge nodes, and we don't want the badge to be big
@@ -168,11 +162,9 @@ export declare class StylesViz {
168
162
  */
169
163
  private _findPinBadgeScale;
170
164
  /**
171
- * Find the color of the pin badge text
172
- */
173
- private _findPinBadgeTextColor;
174
- /**
175
- * Find the color of the pin badge background
165
+ * Get node radius
166
+ * This is a workaround for an ogma issue where the radius of virtual nodes is always set to 5.
167
+ * The issue is still present in Ogma 5.2
176
168
  */
177
- private _findPinBadgeBackgroundColor;
169
+ private _getNodeRadius;
178
170
  }
@@ -3,3 +3,4 @@ export declare const HTML_COLORS: GenericObject<{
3
3
  hex: string;
4
4
  rgb: string;
5
5
  }>;
6
+ export declare const BADGE_COLOR = "#3F3D5F";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkurious/ogma-linkurious-parser",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "author": "Linkurious SAS",
5
5
  "description": "Parse and load a Linkurious visualization in Ogma with one line of code ",
6
6
  "files": [
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@linkurious/ogma": "5.2.6",
65
- "@linkurious/rest-client": "4.2.1",
65
+ "@linkurious/rest-client": "4.2.2",
66
66
  "@types/chai": "4.2.17",
67
67
  "@types/lodash": "4.14.182",
68
68
  "@types/mocha": "5.2.7",