Skip to content

Commit

Permalink
version updated to 0.0.08
Browse files Browse the repository at this point in the history
  • Loading branch information
rrmerugu committed May 25, 2021
1 parent 3d13a99 commit 7471e89
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "invana-studio",
"version": "0.0.0",
"version": "0.0.8",
"private": true,
"homepage": "/",
"repository": {
Expand Down
17 changes: 16 additions & 1 deletion src/settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ import {getDataFromLocalStorage} from "../utils/localStorage";
import packageJson from '../../package.json';


export const defaultEdgesOptions = {
physics: true,
// length: undefined,
length: 320,
smooth: {
enabled: true,
// dynamic, continuous, discrete, diagonalCross, straightCross,
// curvedCW, curvedCCW, cubicBezier, horizontal, vertical
type: "continuous",
// vertical or horizontal
forceDirection: "none",
roundness: .5
},
}

export const STUDIO_SETTINGS = {
VERSION: packageJson.version,
ABOUT_TEXT: packageJson.description, // "Open source graph data visualiser and insights engine.",
Expand All @@ -16,7 +31,7 @@ export const STUDIO_SETTINGS = {
GRAPH_ENGINE_NAME: localStorage.getItem(STUDIO_CONNECT_CONSTANTS.GRAPH_ENGINE_NAME) || "invana-engine",


RENDERING_EDGES_SETTINGS : getDataFromLocalStorage(STUDIO_CONNECT_CONSTANTS.RENDERING_EDGES_SETTINGS, true ) || {},//defaultEdgesOptions,
RENDERING_EDGES_SETTINGS: getDataFromLocalStorage(STUDIO_CONNECT_CONSTANTS.RENDERING_EDGES_SETTINGS, true) || defaultEdgesOptions,

MANAGEMENT_VERTEX_LABEL: "InvanaManagement"
}
Expand Down

0 comments on commit 7471e89

Please sign in to comment.