-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd746ae
commit ff6fa80
Showing
13 changed files
with
115 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
sidebar_position: 0 | ||
title: Get started | ||
slug: get-started | ||
--- | ||
|
||
import Card from "../src/components/ActionCard"; | ||
import { grid } from "../src/components/grid"; | ||
import { Stack } from "@mui/material"; | ||
import imageA from "./image-3.png"; | ||
import imageB from "./30531.png"; | ||
import imageC from "./image-9.png"; | ||
|
||
# Hey there! | ||
|
||
We're excited to have you here. 😊 | ||
|
||
Posthoc is a way to build quick-and-dirty visualisations ✨ for sequential decision-making algorithms, such as search algorithms. 🚀 Just print logs as [search traces](./search-trace) and drop those into the [Posthoc visualiser](./visualiser/overview). | ||
|
||
<Stack direction="row" sx={{ ...grid(360), gap: 2, mb: 4 }}> | ||
<Card | ||
primary="Try Posthoc" | ||
secondary="Dive right into Posthoc and try out some examples." | ||
onClick={() => open("https://posthoc.pathfinding.ai")} | ||
image={imageA} | ||
/> | ||
<Card | ||
primary="Watch the primer" | ||
secondary="Watch our ICAPS 24 demo video, which explains how Posthoc works." | ||
onClick={() => open("https://youtu.be/qVpHPYRi6GY")} | ||
image={imageB} | ||
/> | ||
<Card | ||
primary="Read the docs" | ||
secondary="Ready to build your own visualisations? Continue exploring our documentation." | ||
onClick={() => open("http://localhost:3000/docs/overview")} | ||
image={imageC} | ||
/> | ||
</Stack> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 1 | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Search trace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
sidebar_position: 4 | ||
title: Visualiser Adapter Protocol ⚠️ | ||
--- | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import { ArrowForwardOutlined } from "@mui/icons-material"; | ||
import { | ||
Box, | ||
ButtonBase, | ||
Card, | ||
CardProps, | ||
Stack, | ||
Typography, | ||
} from "@mui/material"; | ||
import { ReactNode } from "react"; | ||
|
||
type Props = { | ||
primary?: ReactNode; | ||
secondary?: ReactNode; | ||
image?: string; | ||
}; | ||
|
||
export default function ActionCard({ | ||
primary, | ||
secondary, | ||
image, | ||
...props | ||
}: Props & CardProps) { | ||
return ( | ||
<ButtonBase | ||
sx={{ | ||
borderRadius: (t) => t.shape.borderRadius, | ||
p: 0, | ||
}} | ||
> | ||
<Card | ||
{...props} | ||
sx={{ | ||
height: "100%", | ||
width: "100%", | ||
textAlign: "left", | ||
borderRadius: (t) => t.shape.borderRadius, | ||
border: (t) => `1px solid ${t.palette.divider}`, | ||
...props.sx, | ||
}} | ||
> | ||
<Box | ||
sx={{ | ||
aspectRatio: 16 / 9, | ||
width: "100%", | ||
backgroundImage: `url(${image})`, | ||
backgroundSize: "cover", | ||
backgroundPosition: "center", | ||
}} | ||
/> | ||
<Box sx={{ position: "relative" }}> | ||
<ArrowForwardOutlined | ||
sx={{ m: 3, position: "absolute", right: 0, top: 0 }} | ||
/> | ||
<Stack sx={{ p: 3, gap: 1 }}> | ||
<Typography variant="h6" sx={{ fontSize: 18, fontWeight: 600 }}> | ||
{primary} | ||
</Typography> | ||
<Typography>{secondary}</Typography> | ||
</Stack> | ||
</Box> | ||
</Card> | ||
</ButtonBase> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const grid = (size: number) => ({ | ||
display: "grid", | ||
gridAutoFlow: "row", | ||
gridTemplateColumns: `repeat(auto-fill, minmax(min(100%, ${size}px), 1fr))`, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters