// import { Radio } from 'antd'; import React, { useState } from 'react'; import { connect } from 'umi'; import styles from './components/style.less'; import type { StateType } from './model'; import { SemanticNodeType } from './enum'; // import SemanticFlow from './SemanticFlows'; import SemanticGraph from './SemanticGraph'; type Props = { }; const SemanticGraphCanvas: React.FC = ({ }) => { // const [graphShowType, setGraphShowType] = useState(SemanticNodeType.DIMENSION); return (
{/*
{ const { value } = e.target; setGraphShowType(value); }} > 数据源 维度 指标
*/}
{/* {graphShowType === SemanticNodeType.DATASOURCE ? (
) : ( */}
{/* )} */}
); }; export default SemanticGraphCanvas;