MCPcopy Index your code
hub / github.com/bytesleo/angular-editor-fabric-js

github.com/bytesleo/angular-editor-fabric-js @2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.0 ↗ · + Follow
63 symbols 120 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

angular-editor-fabric-js

Drag-and-drop editor based on Fabricjs for Angular v5 with multiple options

Preview

Example

Imgur

Output

Imgur

Features

  • Export to image
  • Export to SVG
  • Save to localStorage
  • Load From LocalStorage
  • Clean workspace
  • Resize workspace
  • Add text
  • Add Images
  • Upload Images
  • Add figures (Rectangle, Triangle, Square, Circle)
  • Render to JSON
  • Clone Object
  • Sent to front Object
  • Sent to back Object
  • Delete Object
  • Unselect Object
  • Add ID to Object
  • Opacity to Object
  • Color to Object
  • Font Famility to Object
  • Text Align to Object
  • Style to Object
  • Font Size to Object
  • Line Height To Object
  • Char Spacing to Object

This project was generated with Angular CLI version 1.6.5.

Installation

git clone https://github.com/kevoj/angular-editor-fabric-js.git
cd angular-editor-fabric-js
npm install

Start

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

License

MIT © Leonardo Rico

Extension points exported contracts — how you extend this code

NodeModule (Interface)
(no doc)
src/typings.d.ts

Core symbols most depended-on inside this repo

getActiveStyle
called by 8
src/app/app.component.ts
setActiveStyle
called by 8
src/app/app.component.ts
selectItemAfterAdded
called by 5
src/app/app.component.ts
extend
called by 4
src/app/app.component.ts
randomId
called by 4
src/app/app.component.ts
getActiveProp
called by 2
src/app/app.component.ts
setActiveProp
called by 2
src/app/app.component.ts
getFill
called by 2
src/app/app.component.ts

Shape

Method 55
Class 6
Function 1
Interface 1

Languages

TypeScript100%

Modules by API surface

src/app/app.component.ts55 symbols
e2e/app.po.ts4 symbols
src/app/app.module.ts2 symbols
src/typings.d.ts1 symbols
protractor.conf.js1 symbols

For agents

$ claude mcp add angular-editor-fabric-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact