Skip to content

Commit

Permalink
updating yasmin viewer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Jan 15, 2025
1 parent 15df2d9 commit 47201cc
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 49 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.f855e6bc.css",
"main.js": "/static/js/main.5989f56a.js",
"main.js": "/static/js/main.8f464128.js",
"static/js/453.1d648acd.chunk.js": "/static/js/453.1d648acd.chunk.js",
"index.html": "/index.html",
"main.f855e6bc.css.map": "/static/css/main.f855e6bc.css.map",
"main.5989f56a.js.map": "/static/js/main.5989f56a.js.map",
"main.8f464128.js.map": "/static/js/main.8f464128.js.map",
"453.1d648acd.chunk.js.map": "/static/js/453.1d648acd.chunk.js.map"
},
"entrypoints": [
"static/css/main.f855e6bc.css",
"static/js/main.5989f56a.js"
"static/js/main.8f464128.js"
]
}
2 changes: 1 addition & 1 deletion yasmin_viewer/yasmin_viewer_web_client/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>YASMIN Viewer</title><script defer="defer" src="/static/js/main.5989f56a.js"></script><link href="/static/css/main.f855e6bc.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>YASMIN Viewer</title><script defer="defer" src="/static/js/main.8f464128.js"></script><link href="/static/css/main.f855e6bc.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Expand All @@ -16,52 +10,64 @@ Licensed under The MIT License (http://opensource.org/licenses/MIT)

/**
* @license React
* react-is.production.js
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v0.20.2
* scheduler.production.min.js
/**
* @license React
* react-dom.production.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-dom.production.min.js
/**
* @license React
* react.production.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-jsx-runtime.production.min.js
/**
* @license React
* scheduler.production.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @mui/styled-engine v6.4.0
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react.production.min.js
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
Expand Down

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions yasmin_viewer/yasmin_viewer_web_client/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "yasmin_viewer_web_client",
"version": "0.1.0",
"version": "3.0.3",
"private": true,
"dependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.3.1",
"@mui/material": "^5.3.1",
"@mui/icons-material": "^6.4.0",
"@mui/material": "^6.4.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^13.5.0",
"cytoscape": "^3.31.0",
"cytoscape-cose-bilkent": "^4.1.0",
"cytoscape-dagre": "^2.5.0",
"cytoscape-klay": "^3.1.4",
"react": "^17.0.2",
"react": "^19.0.0",
"react-cytoscapejs": "^2.0.0",
"react-dom": "^17.0.2",
"react-dom": "^19.0.0",
"react-scripts": "^5.0.1",
"web-vitals": "^2.1.4",
"webpack": "^5.97.1"
Expand Down
10 changes: 5 additions & 5 deletions yasmin_viewer/yasmin_viewer_web_client/src/components/FSM.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ const Graph = React.memo(({ nodes, edges, layout, height }) => {
style: {
label: "data(label)",
targetArrowShape: "triangle",
curveStyle: "unbundled-bezier",
controlPointDistances: [20, -20],
controlPointWeights: [0.25, 0.75],
curveStyle: "bezier",
controlPointDistances: [30, -30],
// controlPointWeights: [0.25, 0.75],
loopDirection: "0deg",
loopSweep: "-20deg",
loopSweep: "30deg",
events: "no",
},
},
Expand Down Expand Up @@ -196,7 +196,7 @@ const FSM = React.memo(({ fsm_data, alone, hide_nested_fsm, layout_type }) => {

const selectedLayout = layouts[layout_type] || layouts.dagre;

const height = alone ? "80vh" : "40vh";
const height = "80vh";

// Memoize nodes and edges to avoid recomputation unless `fsm_data` changes
const { nodes, edges } = useMemo(() => {
Expand Down
20 changes: 11 additions & 9 deletions yasmin_viewer/yasmin_viewer_web_client/src/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";

ReactDOM.render(
<React.StrictMode>
const rootElement = document.getElementById("root");
const root = createRoot(rootElement);

root.render(
<StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
</StrictMode>
);

// If you want to start measuring performance in your app, pass a function
Expand Down

0 comments on commit 47201cc

Please sign in to comment.