Skip to content

Commit 0632a8d

Browse files
committed
[DOCS] Regenerate the class diagram in the README
The class diagram is (almost) unchanged to the output from `tasuku43/mermaid-class-diagram`, except for the kept `direction LR`. This is in preparation for adding a script for auto-creating the class diagram in #1297.
1 parent 6dec68e commit 0632a8d

File tree

1 file changed

+65
-11
lines changed

1 file changed

+65
-11
lines changed

README.md

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -730,76 +730,130 @@ classDiagram
730730
CSSListItem <|-- AtRule: inheritance
731731
AtRule <|.. AtRuleBlockList: realization
732732
CSSBlockList <|-- AtRuleBlockList: inheritance
733+
AtRuleBlockList ..> OutputFormat: dependency
733734
AtRule <|.. AtRuleSet: realization
735+
AtRuleSet ..> OutputFormat: dependency
734736
RuleSet <|-- AtRuleSet: inheritance
735737
CSSList <|-- CSSBlockList: inheritance
736738
Renderable <|-- CSSElement: inheritance
739+
CSSFunction ..> OutputFormat: dependency
740+
CSSFunction ..> ParserState: dependency
737741
ValueList <|-- CSSFunction: inheritance
742+
CSSList ..> AtRuleBlockList: dependency
743+
CSSList ..> AtRuleSet: dependency
738744
CSSElement <|.. CSSList: realization
739745
CSSListItem <|.. CSSList: realization
746+
CSSList ..> CSSNamespace: dependency
740747
CSSList ..> Charset: dependency
741748
CSSList ..> Import: dependency
749+
CSSList ..> KeyFrame: dependency
750+
CSSList ..> OutputFormat: dependency
751+
CSSList ..> ParserState: dependency
742752
Positionable <|.. CSSList: realization
753+
CSSList ..> Selector: dependency
754+
CSSList ..> SourceException: dependency
755+
CSSList ..> UnexpectedTokenException: dependency
743756
Commentable <|-- CSSListItem: inheritance
744757
Renderable <|-- CSSListItem: inheritance
745758
AtRule <|.. CSSNamespace: realization
759+
CSSNamespace ..> OutputFormat: dependency
746760
Positionable <|.. CSSNamespace: realization
761+
CSSString ..> OutputFormat: dependency
762+
CSSString ..> ParserState: dependency
747763
PrimitiveValue <|-- CSSString: inheritance
764+
CSSString ..> SourceException: dependency
748765
CSSFunction <|-- CalcFunction: inheritance
766+
CalcFunction ..> CalcRuleValueList: dependency
767+
CalcFunction ..> ParserState: dependency
768+
CalcFunction ..> RuleValueList: dependency
769+
CalcFunction ..> UnexpectedTokenException: dependency
770+
CalcRuleValueList ..> OutputFormat: dependency
749771
RuleValueList <|-- CalcRuleValueList: inheritance
750772
AtRule <|.. Charset: realization
751773
Charset ..> CSSString: dependency
774+
Charset ..> OutputFormat: dependency
752775
Positionable <|.. Charset: realization
753776
CSSFunction <|-- Color: inheritance
777+
Color ..> OutputFormat: dependency
778+
Color ..> ParserState: dependency
779+
Color ..> Size: dependency
780+
Color ..> UnexpectedTokenException: dependency
781+
Comment ..> OutputFormat: dependency
754782
Positionable <|.. Comment: realization
755783
Renderable <|.. Comment: realization
784+
DeclarationBlock ..> KeyframeSelector: dependency
785+
DeclarationBlock ..> OutputException: dependency
786+
DeclarationBlock ..> OutputFormat: dependency
787+
DeclarationBlock ..> ParserState: dependency
756788
RuleSet <|-- DeclarationBlock: inheritance
757789
DeclarationBlock ..> Selector: dependency
790+
DeclarationBlock ..> UnexpectedTokenException: dependency
758791
CSSBlockList <|-- Document: inheritance
792+
Document ..> OutputFormat: dependency
793+
Document ..> ParserState: dependency
759794
AtRule <|.. Import: realization
795+
Import ..> OutputFormat: dependency
760796
Positionable <|.. Import: realization
797+
Import ..> URL: dependency
761798
AtRule <|.. KeyFrame: realization
762799
CSSList <|-- KeyFrame: inheritance
800+
KeyFrame ..> OutputFormat: dependency
763801
Selector <|-- KeyframeSelector: inheritance
802+
LineName ..> OutputFormat: dependency
803+
LineName ..> ParserState: dependency
764804
ValueList <|-- LineName: inheritance
765805
SourceException <|-- OutputException: inheritance
766806
OutputFormat ..> OutputFormatter: dependency
807+
OutputFormatter ..> Commentable: dependency
808+
OutputFormatter ..> InvalidArgumentException: dependency
767809
OutputFormatter ..> OutputFormat: dependency
810+
Parser ..> Document: dependency
768811
Parser ..> ParserState: dependency
812+
ParserState ..> Anchor: dependency
813+
ParserState ..> Comment: dependency
769814
ParserState ..> Settings: dependency
815+
ParserState ..> SourceException: dependency
816+
ParserState ..> UnexpectedEOFException: dependency
817+
ParserState ..> UnexpectedTokenException: dependency
770818
Value <|-- PrimitiveValue: inheritance
819+
Renderable ..> OutputFormat: dependency
771820
CSSElement <|.. Rule: realization
772821
Commentable <|.. Rule: realization
822+
Rule ..> OutputFormat: dependency
823+
Rule ..> ParserState: dependency
773824
Positionable <|.. Rule: realization
774825
Rule ..> RuleValueList: dependency
826+
RuleContainer ..> Rule: dependency
775827
CSSElement <|.. RuleSet: realization
776828
CSSListItem <|.. RuleSet: realization
829+
RuleSet ..> OutputFormat: dependency
830+
RuleSet ..> ParserState: dependency
777831
Positionable <|.. RuleSet: realization
778832
RuleSet ..> Rule: dependency
779833
RuleContainer <|.. RuleSet: realization
834+
RuleSet ..> UnexpectedValueException: dependency
780835
ValueList <|-- RuleValueList: inheritance
836+
Selector ..> OutputFormat: dependency
781837
Renderable <|.. Selector: realization
838+
Size ..> OutputFormat: dependency
839+
Size ..> ParserState: dependency
782840
PrimitiveValue <|-- Size: inheritance
783841
Exception <|-- SourceException: inheritance
784842
Positionable <|.. SourceException: realization
785843
URL ..> CSSString: dependency
844+
URL ..> OutputFormat: dependency
845+
URL ..> ParserState: dependency
786846
PrimitiveValue <|-- URL: inheritance
787847
UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
788848
SourceException <|-- UnexpectedTokenException: inheritance
789849
CSSElement <|.. Value: realization
850+
Value ..> CSSFunction: dependency
851+
Value ..> ParserState: dependency
790852
Positionable <|.. Value: realization
853+
Value ..> RuleValueList: dependency
854+
Value ..> UnexpectedTokenException: dependency
855+
ValueList ..> OutputFormat: dependency
791856
Value <|-- ValueList: inheritance
792-
793-
CSSList ..> CSSList: dependency
794-
CSSList ..> Comment: dependency
795-
CSSList ..> RuleSet: dependency
796-
CSSNamespace ..> Comment: dependency
797-
Charset ..> Comment: dependency
798-
Import ..> Comment: dependency
799-
OutputFormat ..> OutputFormat: dependency
800-
Rule ..> Comment: dependency
801-
RuleSet ..> Comment: dependency
802-
ValueList ..> Value: dependency
803857
```
804858

805859
## API and deprecation policy

0 commit comments

Comments
 (0)