mirror of
https://github.com/dtomlinson91/anno-production-chain-renderer.git
synced 2025-12-21 22:05:46 +00:00
add latest
This commit is contained in:
25
docs/boilerplate_production_chains.md
Normal file
25
docs/boilerplate_production_chains.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# boilerplate production chains
|
||||
|
||||
## diagram definition
|
||||
|
||||
```
|
||||
`flowchart LR; `
|
||||
```
|
||||
|
||||
## plain chain
|
||||
|
||||
```
|
||||
NAME(<img src='${charcoalKilnIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
|
||||
```
|
||||
|
||||
## chain with lower efficiency
|
||||
|
||||
```
|
||||
NAME(<span class='icon-flex-row'><img src='${steelIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>66%</span><span class='ratio-count'>1</span></span></span>)
|
||||
```
|
||||
|
||||
## chain with electricity
|
||||
|
||||
```
|
||||
NAME(<span class='icon-flex-row'><img src='${highWheelerIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span><img src='${lightningIcon}' class='electricity-icon' /></span><span class='ratio-count'>1</span></span></span>)
|
||||
```
|
||||
37
docs/todo.todo
Normal file
37
docs/todo.todo
Normal file
@@ -0,0 +1,37 @@
|
||||
mermaid graphs using endent?
|
||||
|
||||
push to gh pages
|
||||
|
||||
document div with background instead of img
|
||||
|
||||
document vite importing assets
|
||||
importing an image
|
||||
|
||||
dynamic imports?
|
||||
loop over to import the images from json file?
|
||||
|
||||
fix link to homepage (loading into new tab)
|
||||
doc this
|
||||
|
||||
div with background css
|
||||
|
||||
watchEffect(() => {
|
||||
if (mermaidGraph.value != null) {
|
||||
mermaid.render(
|
||||
'test',
|
||||
"flowchart LR; Wood((<div class='wood-icon'><span>1</span></div>))-->Icon((<div class='timber-icon'>1</div>)); classDef mermaid-height height:50px; class Wood mermaid-height",
|
||||
(svgCode: string) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
mermaidGraph.value!.innerHTML = svgCode;
|
||||
}
|
||||
);
|
||||
} else {
|
||||
console.log('null value');
|
||||
}
|
||||
});
|
||||
|
||||
.timber-icon {
|
||||
background: no-repeat center/100% url('../assets/annoIcons/Timber.webp');
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
Reference in New Issue
Block a user