Build hero slides, insight cards, and diagrams from one CLI with clarity-first defaults.
| Insight Card | Key Insight Quote | Insight Story |
|---|---|---|
![]() |
![]() |
![]() |
| Hero | Triptych Hero | Open Canvas Hero |
|---|---|---|
![]() |
![]() |
![]() |
| Cycle Diagram | Timeline Diagram | Slide Cards |
|---|---|---|
![]() |
![]() |
![]() |
Canonical showcase assets live in examples/output/showcase/.
- Use the package
- Make graphics
- Build a custom theme (font/colors)
- Build a super custom hero
- Call the CLI directly
modern-graphics create \
--layout hero \
--headline "Execution scales. Judgment does not." \
--png \
--output ./output/hero.pngExpected output: ./output/hero.png.
python scripts/custom_template.pyExpected output: dark_cycle_example.html.
Install dependencies once:
pip install playwright pillow python-dotenv
playwright install chromiumGenerate a first PNG:
modern-graphics create \
--layout hero \
--headline "Execution scales. Judgment does not." \
--png \
--output ./output/hero.pngExpected output: ./output/hero.png.
Defaults (good for most first runs):
theme=corporatedensity=claritycrop-mode=safepadding-mode=minimal
- Start here:
docs/QUICKSTART.md - API surface:
docs/API.md
- Runnable examples:
examples/README.md - Diagram/layout catalog:
docs/DIAGRAM_TYPES.md - Curated tracked outputs:
examples/output/showcase/
- Theme and template customization:
docs/ADVANCED.md#custom-templates - Export/crop/padding tuning:
docs/EXPORT.md
- Hero composition patterns:
docs/HERO_SLIDES.md - Mermaid and SVG embedding:
docs/MERMAID.md - SVG.js and freeform extension:
docs/ADVANCED.md#svgjs-integration
- Canonical command + recipes:
docs/CREATE_COMMAND.md - Migration from legacy commands:
docs/MIGRATION.md - Deprecation policy:
docs/DEPRECATION_POLICY.md
Full docs map: docs/README.md
- Contribution guide:
docs/CONTRIBUTING.md - Strategy and overhaul context:
docs/OVERHAUL_SPEC.md
MIT License.








