1.0.2 • Published 2 years ago

@egoistdeveloper/crows-foot-notations v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

crows-foot-notations

EgoistDeveloper crows-foot-notations

Crow's foot notations in SVG format with left, right, top and bottom directions. Crow's foot notations are one of many entity-relation notations types and these notations are useful for drawing entity relation endpoints.

See also @VivekMChawla's ERD "Crow's Foot" Relationship Symbols Cheat Sheet

NPM NPM Bundle Size NPM

Table of contents

Installation

$ npm i @egoistdeveloper/crows-foot-notations

Base notations

Zero

PreviewDirection
zero/leftLeft
zero/rightRight
zero/topTop
zero/bottomBottom

One

PreviewDirection
one/leftLeft
one/rightRight
one/topTop
one/bottomBottom

Many

PreviewDirection
many/leftLeft
many/rightRight
many/topTop
many/bottomBottom

Comined Notations

Zero or One

relation view

PreviewDirection
zero-or-one/leftLeft
zero-or-one/rightRight
zero-or-one/topTop
zero-or-one/bottomBottom

Zero or Many

relation view

PreviewDirection
zero-or-many/leftLeft
zero-or-many/rightRight
zero-or-many/topTop
zero-or-many/bottomBottom

One and ONLY One

relation view

PreviewDirection
one-and-only-one/leftLeft
one-and-only-one/rightRight
one-and-only-one/topTop
one-and-only-one/bottomBottom

One or Many

relation view

PreviewDirection
one-or-many/leftLeft
one-or-many/rightRight
one-or-many/topTop
one-or-many/bottomBottom

Further readings

Online SVG editor

Used @yqnn's svg path editor.

Copyrights

These SVG notations are inspired by @yurigor's codepen.