mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 03:38:20 +08:00
1 line
5.2 KiB
Plaintext
1 line
5.2 KiB
Plaintext
|
{"version":3,"sources":["docs/api/reference/g6.randomlayout._constructor_.zh.md"],"sourcesContent":["import API from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/G6/G6/node_modules/.pnpm/dumi@2.4.14_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@20.17.9_@types+react@18.3.12_es_54awilfh3ualxwsi36hmrn5nxe/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport Playground from '/home/runner/work/G6/G6/packages/site/node_modules/@antv/dumi-theme-antv/dist/builtins/Playground/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <><div className=\"markdown\"><p><Link to=\"/api/reference/g6\">{$$contentTexts[0].value}</Link>{$$contentTexts[1].value}<Link to=\"/api/reference/g6/randomlayout\">{$$contentTexts[2].value}</Link>{$$contentTexts[3].value}<Link to=\"/api/reference/g6/randomlayout/_constructor_\">{$$contentTexts[4].value}</Link></p><h2 id=\"randomlayoutconstructor\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#randomlayoutconstructor\"><span className=\"icon icon-link\" /></a>{\"RandomLayout.(constructor)\"}</h2><ul><li>{$$contentTexts[5].value}<code>{$$contentTexts[6].value}</code>{$$contentTexts[7].value}</li></ul><SourceCode lang=\"typescript\">{$$contentTexts[8].value}</SourceCode><h2 id=\"parameters\"><a aria-hidden=\"true\" tabIndex=\"-1\" href=\"#parameters\"><span className=\"icon icon-link\" /></a>{\"Parameters\"}</h2><Table><thead><tr><th><p>{$$contentTexts[9].value}</p></th><th><p>{$$contentTexts[10].value}</p></th><th><p>{$$contentTexts[11].value}</p></th></tr></thead><tbody><tr><td><p>{$$contentTexts[12].value}</p></td><td><p><Link to=\"/api/reference/g6/randomlayoutoptions\">{$$contentTexts[13].value}</Link></p></td><td /></tr></tbody></Table></div></>;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return <DumiPage><Suspense fallback={<LoadingComponent />}><DumiMarkdownInner /></Suspense></DumiPage>;\n
|