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 — maxGraph/docs/adr at main · maxGraph/maxGraph

Expand file tree

/

adr

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

adr

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
0001-use-mixins-to-split-the-graph-class.md
0001-use-mixins-to-split-the-graph-class.md
 
 
0002-use-plugins-for-optional-and-new-features.md
0002-use-plugins-for-optional-and-new-features.md
 
 
0003-move-members-out-of-abstract-graph.md
0003-move-members-out-of-abstract-graph.md
 
 
README.md
README.md
 
 

README.md

Outline

Architecture Decision Records

This directory records architectural decisions that are hard to infer from the code alone: why a member lives where it lives, why an obvious refactoring was set aside, which constraint blocks a move.

Conventions

  • One decision per file, named NNNN-title-in-kebab-case.md, numbered sequentially and never renumbered.
  • Status is one of Proposed, Accepted, Superseded by ADR-NNNN, Deprecated, and nothing else. An accepted ADR is never edited to reverse its decision, a new ADR supersedes it.
  • Superseded by ADR-NNNN means the decision itself no longer holds. An ADR whose approach is merely no longer applied to new code stays Accepted for as long as its reasoning still explains part of the codebase. Record that shift in the body of the ADR, not in its status.
  • Record the reasoning, not only the outcome. An ADR that states what was decided without stating what was rejected and why is of little use six months later.
  • Line width 120, consistent with the rest of the repository.

Index

ADR Title Status
0001 Use mixins to split the Graph class Accepted
0002 Use plugins for optional behaviour and new features Accepted
0003 Move members out of AbstractGraph Accepted

0001 and 0002 record the two structural approaches and why the second replaces the first. 0003 applies them to the members still sitting in AbstractGraph.

0001 stays Accepted rather than superseded: plugins replace mixins for new code, but the mixin design still explains a large part of the current codebase, and its recorded costs are what justify the shift.

You are visitor 01402775 — 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.