/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const React = require('react'); const CompLibrary = require('../../core/CompLibrary.js'); const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; class HomeSplash extends React.Component { render() { const {siteConfig, language = ''} = this.props; const {baseUrl, docsUrl} = siteConfig; const docsPart = `${docsUrl ? `${docsUrl}/` : ''}`; const langPart = `${language ? `${language}/` : ''}`; const docUrl = doc => `${baseUrl}${docsPart}${langPart}${doc}`; const SplashContainer = props => (
{props.children}
); const Logo = props => (
Project Logo
); const ProjectTitle = props => (

{props.title} {props.tagline}

); const PromoSection = props => (
{props.children}
); const Button = props => (
{props.children}
); return (
); } } class Index extends React.Component { render() { const {config: siteConfig, language = ''} = this.props; const {baseUrl} = siteConfig; const Block = props => ( ); const About = () => (

About Diagrams

Diagrams lets you draw the cloud system architecture **in Python code**. It was born for **prototyping** a new system architecture without any design tools. You can also describe or visualize the existing system architecture as well. `Diagram as Code` allows you to **track** the architecture diagram changes in any **version control** system. Diagrams currently supports six major providers: `AWS`, `Azure`, `GCP`, `Kubernetes`, `Alibaba Cloud` and `Oracle Cloud`. It now also supports `On-Premise` nodes.
); const Example = () => ( {[ { image: `${baseUrl}img/message_collecting_code.png`, imageAlign: 'left', }, { image: `${baseUrl}img/message_collecting_diagram.png`, imageAlign: 'right', }, ]} ); const Example2 = () => ( {[ { image: `${baseUrl}img/event_processing_code.png`, imageAlign: 'left', }, { image: `${baseUrl}img/event_processing_diagram.png`, imageAlign: 'right', }, ]} ); return (
); } } module.exports = Index;