Skip to content

Commit

Permalink
feat: show solver descriptions in the problem graph
Browse files Browse the repository at this point in the history
  • Loading branch information
zaibod committed Dec 20, 2024
1 parent 6b827a8 commit 6a43c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/api/data-model/ProblemSolverInfo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface ProblemSolverInfo {
id: string;
name: string;
description: string;
}
2 changes: 1 addition & 1 deletion src/components/solvers/Graph/SolverNodeContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const SolverNodeContent = (props: SolverNodeContentProps) => {
<Text fontWeight="semibold">{props.solver.name}</Text>
</PopoverHeader>
<PopoverBody>
<Text>Solves {props.problemTypeId}</Text>
<Text>{props.solver.description}</Text>
</PopoverBody>
<PopoverFooter>
<Text fontSize="xs">{props.solver.id}</Text>
Expand Down

0 comments on commit 6a43c72

Please sign in to comment.