import { useSettingsStore } from '@/stores/settings' import { useTranslation } from 'react-i18next' /** * Component that displays current values of important graph settings * Positioned to the right of the toolbar at the bottom-left corner */ const SettingsDisplay = () => { const { t } = useTranslation() const graphQueryMaxDepth = useSettingsStore.use.graphQueryMaxDepth() const graphMinDegree = useSettingsStore.use.graphMinDegree() return (
{t('graphPanel.sideBar.settings.depth')}: {graphQueryMaxDepth}
{t('graphPanel.sideBar.settings.degree')}: {graphMinDegree}
) } export default SettingsDisplay