Loading...
Loading...
基于给定文字内容创建精美信息图。当用户请求创建信息图时使用。
npx skill4agent add antvis/infographic infographic-creatorInfographic = Information Structure + Visual Expressioninfographic list-row-horizontal-icon-arrow
data
title Title
desc Description
lists
- label Label
value 12.5
desc Explanation
icon document text
theme
palette #3b82f6 #8b5cf6 #f97316infographic <template-name>datatheme-star filldataitemslist-*listssequence-*sequencesorder asc|desccompare-*compareschildrenhierarchy-structureitemshierarchy-*rootchildrenrelation-*nodesrelationsnodeschart-*valuescategoryitemscompare-binary-*compare-hierarchy-left-right-*hierarchy-*rootchildrenrootthemeinfographic list-row-simple-horizontal-arrow
theme dark
palette
- #61DDAA
- #F6BD16
- #F08BB4theme.base.text.font-family851tegakizatsutheme.stylizeroughpatternlinear-gradientradial-gradientinfographic list-row-simple-horizontal-arrow
theme
stylize rough
base
text
font-family 851tegakizatsuitemslist-*infographic list-grid-badge-card
data
title Feature List
lists
- label Fast
icon flash fast
- label Secure
icon secure shield checksequence-*infographic sequence-steps-simple
data
sequences
- label Step 1
- label Step 2
- label Step 3
order aschierarchy-*infographic hierarchy-structure
data
root
label Company
children
- label Dept A
- label Dept Bcompare-*infographic compare-swot
data
compares
- label Strengths
children
- label Strong brand
- label Loyal users
- label Weaknesses
children
- label High cost
- label Slow releaseinfographic compare-quadrant-quarter-simple-card
data
compares
- label High Impact & Low Effort
- label High Impact & High Effort
- label Low Impact & Low Effort
- label Low Impact & High Effortchart-*infographic chart-column-simple
data
values
- label Visits
value 1280
- label Conversion
value 12.4relation-*边标签写法:A -label-> B 或 A -->|label| B
infographic relation-dagre-flow-tb-simple-circle-node
data
nodes
- id A
label Node A
- id B
label Node B
relations
A - approves -> B
A -->|blocks| Bitemsinfographic list-row-horizontal-icon-arrow
data
items
- label Item A
desc Description
icon sun
- label Item B
desc Description
icon moonsequence-*sequence-timeline-*sequence-stairs-*sequence-roadmap-vertical-*sequence-zigzag-*sequence-circular-simplesequence-color-snake-steps-*sequence-pyramid-simplelist-row-*list-column-*compare-binary-*compare-swothierarchy-tree-*chart-*quadrant-*list-grid-*relation-*chart-wordcloudhierarchy-mindmap-*infographic list-row-horizontal-icon-arrow
data
title Internet Technology Evolution
desc From Web 1.0 to AI era, key milestones
lists
- time 1991
label Web 1.0
desc Tim Berners-Lee published the first website, opening the Internet era
icon web
- time 2004
label Web 2.0
desc Social media and user-generated content become mainstream
icon account multiple
- time 2007
label Mobile
desc iPhone released, smartphone changes the world
icon cellphone
- time 2015
label Cloud Native
desc Containerization and microservices architecture are widely used
icon cloud
- time 2020
label Low Code
desc Visual development lowers the technology threshold
icon application brackets
- time 2023
label AI Large Model
desc ChatGPT ignites the generative AI revolution
icon brain{syntax}{title} - Infographichttps://unpkg.com/@antv/infographic@latest/dist/infographic.min.jscontainerwidth: '100%'height: '100%'{title}{syntax}const svgDataUrl = await infographic.toDataURL({ type: 'svg' });<div id="container"></div>
<script src="https://unpkg.com/@antv/infographic@latest/dist/infographic.min.js"></script>
<script>
const infographic = new AntVInfographic.Infographic({
container: '#container',
width: '100%',
height: '100%',
});
infographic.render(`{syntax}`);
document.fonts?.ready.then(() => {
infographic.render(`{syntax}`);
}).catch((error) => console.error('Error waiting for fonts to load:', error));
</script><title>-infographic.html