GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feakin/feakin-web: Feakin 是一个架构设计与可视化协作工具。Feakin is a architecture design and visual collaboration tool.

BranchesTags
Open more actions menu

Latest commit

 

History

1,007 Commits
1,007 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
cases
cases
 
 
crates
crates
 
 
docs
docs
 
 
packages
packages
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
coco.yml
coco.yml
 
 
jest.config.ts
jest.config.ts
 
 
jest.preset.js
jest.preset.js
 
 
lerna.json
lerna.json
 
 
migrations.json
migrations.json
 
 
nx.json
nx.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.base.json
tsconfig.base.json
 
 
workspace.json
workspace.json
 
 

Repository files navigation

Feakin

Modernize architecture visualization assets management, based on Diagram-as-code, so you can create, share and edit diagram. Support for import Mermaid, PlantUML, Excalidraw, Dot and more.

CI codecov npm

Code Coverage

Chinese introduction: Feakin 是一个架构资产可视化管理工具。基于图表即代码 的思想体系,支持导入 Mermaid, PlantUML, Excalidraw, Dot 等图形资产格式。

Core Technical:

  • concepts: Collaboration (CRDT) + DSL (pest.rs) + Graph Engine + Editor Language (Monaco)
  • stacks: Rust( + WASM) + React + TypeScript

特性:

  • Graph
    • 跨图工具转换。支持导入 Mermaid, PlantUML, Excalidraw, Dot 等图形资产格式,并基于 Graph MIR 进行转换。
    • 广泛的图表格式导出。
      • Drawio
      • Excalidraw
    • 模板创建。支持创建模板,并基于 Graph MIR 进行转换,转换成其它图表格式。
    • 多样化图形布局。支持 Dagre、ELK、Cola 等布局。
    • Dagre
      • replace Grapvhiz to WASM
    • 手绘风格。
      • Rough.js sample
  • Collaboration
    • Server
    • Protocol
      • CRDT
    • Editor
  • DSL
    • FKL Syntax
    • FKL Parser
    • FKL LSP
  • Editor
    • Dot Language
    • Fkl Language

DSL Samples

ContextMap TicketBooking {
  Reservation <-> TicketContext;
}

Context TicketContext {
  Aggregate Ticket, Reservation;
}

Entity Ticket {
  Struct {
    seat: String;
  }
}

// binding;
impl CinemaCreated {
  endpoint {
    GET "/book/{id}";
    authorization: Basic admin admin;
    response: Cinema;
  }

  flow {
    via UserRepository::getUser receive x: User;
    via Kafak send User to "user.create";
  }
}

Demos

Try Online demo: https://online.feakin.com/ Or install @feakin/cli for diagrams converter:

npm install -g @feakin/cli

feakin --input software-development.md.drawio --output sd.excalidraw

Todos

  • Render
    • Layout Engine (TODO: split to standalone module)
      • dagre
      • ELK
      • cola.js
    • Canvas
      • Konva.js, react: react-konva
    • Style
      • roughjs: sketchy, hand-drawn-like, style
  • Editor
    • text Editor with Monaco Editor
    • interactive Editor with Graphical Editor
  • Parser
    • Jison with Mermaid
  • collaboration
    • Rope Architecture Model
      • Rope
    • State Management
  • CLI
    • upgrade publish script
  • Architecture Features
    • Playground: https://online.feakin.com/
    • ComponentLess architecture
      • WebComponent, like <feakin data="" layout="" import="" import-type=""></feakin>
    • Templates
      • DDD ?
      • Layered Architecture
      • Test Pyramid
    • Export and Import
      • MxGraph
      • Excalidraw
      • PlantUML
  • Libraries
    • compatible Excalidraw libraries : https://libraries.excalidraw.com/?theme=light&sort=default

Setup

We use nx.js for mono-repo architecture.

  1. install
npm install --legacy-peer-deps

Note: nx.js use Craco, which will need --legacy-peer-deps.

  1. development exporter, can just run by tests

License

  • Flow parser based on mermaid.js
  • Excalidraw's type based on excalidraw

@2022 Thoughtworks This code is distributed under the MPL license. See LICENSE in this directory.

About

Feakin 是一个架构设计与可视化协作工具。Feakin is a architecture design and visual collaboration tool.

feakin.github.io/feakin-web/

Topics

collaborationdiagram-as-code

Resources

Readme
MPL-2.0 license
Activity
Custom properties

Stars

100 stars

Watchers

5 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.