|
|
|
|
@ -1,8 +1,10 @@
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import styles from '@/pages/flowEditor/node/style/base.module.less';
|
|
|
|
|
// import styles from '@/pages/flowEditor/node/style/base.module.less';
|
|
|
|
|
import styles from '@/pages/flowEditor/node/style/baseOther.module.less';
|
|
|
|
|
import NodeContent from '@/pages/flowEditor/components/nodeContent';
|
|
|
|
|
import { useStore } from '@xyflow/react';
|
|
|
|
|
import { defaultNodeTypes } from '@/pages/flowEditor/node/types/defaultType';
|
|
|
|
|
import NodeContentOther from '@/pages/flowEditor/components/nodeContentOther';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const StartNode = ({ data, id }: { data: defaultNodeTypes; id: string }) => {
|
|
|
|
|
@ -19,7 +21,8 @@ const StartNode = ({ data, id }: { data: defaultNodeTypes; id: string }) => {
|
|
|
|
|
{title}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<NodeContent data={{ ...data, type: 'start' }} />
|
|
|
|
|
{/*<NodeContent data={{ ...data, type: 'start' }} />*/}
|
|
|
|
|
<NodeContentOther data={{ ...data, type: 'start' }} />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|