Skip to content

Instantly share code, notes, and snippets.

@es335ab
Created May 27, 2022 06:17
Show Gist options
  • Select an option

  • Save es335ab/cb11368363b7846ccd613db400abb79c to your computer and use it in GitHub Desktop.

Select an option

Save es335ab/cb11368363b7846ccd613db400abb79c to your computer and use it in GitHub Desktop.
mermaid-test.md
classDiagram
      Animal <|-- Duck
      Animal <|-- Fish
      Animal <|-- Zebra
      Animal : +int age
      Animal : +String gender
      Animal: +isMammal()
      Animal: +mate()
      class Duck{
          +String beakColor
          +swim()
          +quack()
      }
      class Fish{
          -int sizeInFeet
          -canEat()
      }
      class Zebra{
          +bool is_wild
          +run()
      }
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment