@archlex/core
v0.6.0
Published
Core architecture diagramming engine for cloud infrastructure
Maintainers
Readme
@archlex/core
Core architecture diagramming engine for cloud infrastructure.
Installation
npm install @archlex/core @archlex/aws @archlex/gcpUsage
import { parse, compile, render } from '@archlex/core';
const source = `
aws {
compute {
ec2 "web-server"
lambda "api"
}
}
`;
const diagram = compile(parse(source));
const svg = render(diagram);Features
- Parse ArchLex DSL syntax
- Compile to intermediate representation
- Automatic layout with ELK
- SVG rendering
- Multiple cloud provider support
Documentation
Visit archlex.dev for full documentation.
License
MIT
