Skip to content

Commit

Permalink
better selection in visualizer (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Dec 17, 2024
1 parent e17b4bd commit 6dca3bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 2 additions & 8 deletions ui100/src/ApiConsole.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import {useEffect, useRef, useState} from "react";
import {Configuration, MetadataApi, Overview} from "./api";
import {
buildVisualOverview,
mergeVisualOverview,
nodesEqual,
VisualOverview,
visualOverviewsEqual
} from "./model/visualizer.ts";
import {Configuration, MetadataApi} from "./api";
import {mergeVisualOverview, nodesEqual, VisualOverview} from "./model/visualizer.ts";
import {Box} from "@mui/material";
import NavBar from "./NavBar.tsx";
import {User} from "./model/user.ts";
Expand Down
7 changes: 5 additions & 2 deletions ui100/src/react-flow.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
font-family: "Poppins", sans-serif;
font-size: 0.6em;
color: white;
border: 1px solid #241775;
border: 2px solid white;
border-radius: 10px;
background-color: #241775;
text-color: white;
}
.react-flow__node.selected {
border: 1px solid #9bf316;
color: black;
background-color: #9bf316;
border: 2px solid #241775;
font-weight: bold;
}
.react-flow__handle {
background-color: #9bf316;
Expand Down

0 comments on commit 6dca3bb

Please sign in to comment.