File tree Expand file tree Collapse file tree 4 files changed +5
-65
lines changed
Expand file tree Collapse file tree 4 files changed +5
-65
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ button {
1313 color : grey;
1414 cursor : pointer;
1515 border : 0 ;
16- flex : 1 ;
1716 border-radius : 10px ;
1817 padding : 8px ;
1918}
@@ -91,11 +90,11 @@ input {
9190}
9291
9392.react-flow__edge .selected .react-flow__edge-path {
94- stroke : red!important ;
93+ stroke : red !important ;
9594}
9695
9796.react-flow__node .selected {
98- outline : 2px solid red!important ;
97+ outline : 2px solid red !important ;
9998}
10099
101100.react-flow__edge .previous-method-call .react-flow__edge-path {
@@ -150,6 +149,7 @@ input {
150149.react-flow__node-object .react-flow__handle-left {
151150 transform : translate (-8px , 0 );
152151}
152+
153153.react-flow__node-method-call .react-flow__handle-right ,
154154.react-flow__node-object .react-flow__handle-right {
155155 transform : translate (8px , 0 );
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import '@xyflow/react/dist/style.css';
33import useStore , { RFState } from './store' ;
44import { shallow } from 'zustand/shallow' ;
55import { MemoryView } from "./MemoryView" ;
6- import { EditView } from "./EditView" ;
76import { ConfigView } from "./ConfigView" ;
87
98const selector = ( state : RFState ) => ( {
@@ -17,10 +16,9 @@ function App() {
1716 ) ;
1817
1918 return (
20- < div style = { { width : "100dvw" , height : "100dvh" } } >
19+ < div style = { { height : "100dvh" } } >
2120 { route === "view" &&
22- < MemoryView /> }
23- { route === "edit" && < EditView /> }
21+ < MemoryView /> }
2422 { route === "config" && < ConfigView /> }
2523 </ div >
2624 ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -226,11 +226,6 @@ export const MemoryView = () => {
226226 ) ;
227227 } ;
228228
229- const onEdit = ( ) => {
230- onSaveURL ( ) ;
231- setRoute ( "edit" ) ;
232- } ;
233-
234229 const onConfig = ( ) => {
235230 onSaveURL ( ) ;
236231 setRoute ( "config" ) ;
@@ -501,7 +496,6 @@ export const MemoryView = () => {
501496 < button onClick = { onSaveURL } > Save (URL)</ button >
502497 < button onClick = { onDownloadPng } > Download (PNG)</ button >
503498 < button onClick = { onConfig } > Config</ button >
504- < button onClick = { onEdit } > Edit JSON</ button >
505499 </ div >
506500 </ Panel >
507501 { ! memory . options . disableGarbageCollector && < Panel position = "bottom-right" >
You can’t perform that action at this time.
0 commit comments