better selection in visualizer (#804)

This commit is contained in:
Michael Quigley 2024-12-17 13:00:29 -05:00
parent e17b4bdd65
commit 6dca3bb026
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 7 additions and 10 deletions

View File

@ -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";

View File

@ -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;