Better display of epochs

This commit is contained in:
Ayaz Hafiz 2023-07-31 18:05:32 -05:00
parent bea445bafa
commit e3129032e8
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
8 changed files with 216 additions and 70 deletions

View file

@ -31,6 +31,7 @@ import VariableNode, {
import { SubsSnapshot } from "../../engine/subs";
import { KeydownHandler } from "../Events";
import { TypedEmitter } from "tiny-typed-emitter";
import EpochCell from "../Common/EpochCell";
export interface VariablesGraphProps {
subs: SubsSnapshot;
@ -445,6 +446,9 @@ function Graph({
hideAttribution: true,
}}
>
<Panel position="top-left">
<EpochCell epoch={subs.epoch}></EpochCell>
</Panel>
<Panel position="top-right">
<LayoutPanel
layoutConfig={layoutConfig}