mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
32 lines
859 B
TypeScript
32 lines
859 B
TypeScript
import { storiesOf } from '@storybook/react';
|
|
import React from 'react';
|
|
import NodeAmount from './component/node-amount';
|
|
import Erdos from './component/erdos';
|
|
import NetScience from './component/netscience';
|
|
import Eva from './component/eva';
|
|
import RtOccupy from './component/rt-occupy';
|
|
|
|
export default { title: 'Performance' };
|
|
|
|
storiesOf('Performance', module)
|
|
.add('with large amount of nodes', () => (
|
|
// 一个 add 表示添加一个 story
|
|
<NodeAmount />
|
|
))
|
|
.add('net science data', () => (
|
|
// 一个 add 表示添加一个 story
|
|
<NetScience />
|
|
))
|
|
.add('erdos data', () => (
|
|
// 一个 add 表示添加一个 story
|
|
<Erdos />
|
|
))
|
|
.add('eva data', () => (
|
|
// 一个 add 表示添加一个 story
|
|
<Eva />
|
|
))
|
|
.add('rt occupy data', () => (
|
|
// 一个 add 表示添加一个 story
|
|
<RtOccupy />
|
|
));
|