Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx committed Oct 8, 2024
1 parent a6a69a1 commit 18e83ca
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FlowGraph as FlowGraphComponent, type FlowGraphOptions, type G6 } from
import { isBoolean } from 'lodash';
import React, { FC } from 'react';
import styled from 'styled-components';
import data from '../datasets/product-activation.json';
import data from '../datasets/product-launch.json';

interface StepData {
name: string;
Expand Down Expand Up @@ -151,7 +151,7 @@ function isSingleStep(data: NodeData) {
return !data.data.children;
}

export const FlowGraphProductActivation = () => {
export const FlowGraphProductLaunch = () => {
const options: FlowGraphOptions = {
autoFit: 'view',
data,
Expand Down
2 changes: 1 addition & 1 deletion packages/graphs/tests/demos/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { Dendrogram } from './dendrogram';
export { FlowGraph } from './flow-graph';
export { FlowGraphProductActivation } from './flow-graph-product-activation';
export { FlowGraphProductLaunch } from './flow-graph-product-launch';
export { FlowGraphTaskScheduling } from './flow-graph-task-scheduling';
export { IndentedTreeBoxed } from './indented-tree-boxed';
export { IndentedTree } from './indented-tree-default';
Expand Down
4 changes: 2 additions & 2 deletions site/examples/relations/flow-graph/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yd-WSLmyxAkAAAAAAAAAAAAADmJ7AQ/original"
},
{
"filename": "product-activation-flow-graph.js",
"filename": "product-launch-flow-graph.js",
"title": {
"zh": "产品开通动线图",
"en": "Product Activation Flow Graph"
"en": "Product Launch Flow Graph"
},
"screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*n9JgQIGi9BQAAAAAAAAAAAAADmJ7AQ/original"
}
Expand Down

0 comments on commit 18e83ca

Please sign in to comment.