Skip to content

Commit 0d3ef4b

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 33db9f7 commit 0d3ef4b

File tree

1 file changed

+66
-16
lines changed

1 file changed

+66
-16
lines changed

README.md

Lines changed: 66 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -729,80 +729,130 @@ classDiagram
729729
CSSListItem <|-- AtRule: inheritance
730730
AtRule <|.. AtRuleBlockList: realization
731731
CSSBlockList <|-- AtRuleBlockList: inheritance
732+
AtRuleBlockList ..> OutputFormat: dependency
732733
AtRule <|.. AtRuleSet: realization
734+
AtRuleSet ..> OutputFormat: dependency
733735
RuleSet <|-- AtRuleSet: inheritance
734736
CSSList <|-- CSSBlockList: inheritance
735737
Renderable <|-- CSSElement: inheritance
738+
CSSFunction ..> OutputFormat: dependency
739+
CSSFunction ..> ParserState: dependency
736740
ValueList <|-- CSSFunction: inheritance
741+
CSSList ..> AtRuleBlockList: dependency
742+
CSSList ..> AtRuleSet: dependency
737743
CSSElement <|.. CSSList: realization
738744
CSSListItem <|.. CSSList: realization
745+
CSSList ..> CSSNamespace: dependency
739746
CSSList ..> Charset: dependency
740747
CSSList ..> Import: dependency
748+
CSSList ..> KeyFrame: dependency
749+
CSSList ..> OutputFormat: dependency
750+
CSSList ..> ParserState: dependency
741751
Positionable <|.. CSSList: realization
752+
CSSList ..> Selector: dependency
753+
CSSList ..> SourceException: dependency
754+
CSSList ..> UnexpectedTokenException: dependency
742755
Commentable <|-- CSSListItem: inheritance
743756
Renderable <|-- CSSListItem: inheritance
744757
AtRule <|.. CSSNamespace: realization
758+
CSSNamespace ..> OutputFormat: dependency
745759
Positionable <|.. CSSNamespace: realization
760+
CSSString ..> OutputFormat: dependency
761+
CSSString ..> ParserState: dependency
746762
PrimitiveValue <|-- CSSString: inheritance
763+
CSSString ..> SourceException: dependency
747764
CSSFunction <|-- CalcFunction: inheritance
765+
CalcFunction ..> CalcRuleValueList: dependency
766+
CalcFunction ..> ParserState: dependency
767+
CalcFunction ..> RuleValueList: dependency
768+
CalcFunction ..> UnexpectedTokenException: dependency
769+
CalcRuleValueList ..> OutputFormat: dependency
748770
RuleValueList <|-- CalcRuleValueList: inheritance
749771
AtRule <|.. Charset: realization
750772
Charset ..> CSSString: dependency
773+
Charset ..> OutputFormat: dependency
751774
Positionable <|.. Charset: realization
752775
CSSFunction <|-- Color: inheritance
776+
Color ..> OutputFormat: dependency
777+
Color ..> ParserState: dependency
778+
Color ..> Size: dependency
779+
Color ..> UnexpectedTokenException: dependency
780+
Comment ..> OutputFormat: dependency
753781
Positionable <|.. Comment: realization
754782
Renderable <|.. Comment: realization
755-
CSSElement <|.. DeclarationBlock: realization
756-
CSSListItem <|.. DeclarationBlock: realization
757-
Positionable <|.. DeclarationBlock: realization
758-
RuleContainer <|.. DeclarationBlock: realization
759-
DeclarationBlock ..> RuleSet : dependency
783+
DeclarationBlock ..> KeyframeSelector: dependency
784+
DeclarationBlock ..> OutputException: dependency
785+
DeclarationBlock ..> OutputFormat: dependency
786+
DeclarationBlock ..> ParserState: dependency
787+
RuleSet <|-- DeclarationBlock: inheritance
760788
DeclarationBlock ..> Selector: dependency
789+
DeclarationBlock ..> UnexpectedTokenException: dependency
761790
CSSBlockList <|-- Document: inheritance
791+
Document ..> OutputFormat: dependency
792+
Document ..> ParserState: dependency
762793
AtRule <|.. Import: realization
794+
Import ..> OutputFormat: dependency
763795
Positionable <|.. Import: realization
796+
Import ..> URL: dependency
764797
AtRule <|.. KeyFrame: realization
765798
CSSList <|-- KeyFrame: inheritance
799+
KeyFrame ..> OutputFormat: dependency
766800
Selector <|-- KeyframeSelector: inheritance
801+
LineName ..> OutputFormat: dependency
802+
LineName ..> ParserState: dependency
767803
ValueList <|-- LineName: inheritance
768804
SourceException <|-- OutputException: inheritance
769805
OutputFormat ..> OutputFormatter: dependency
806+
OutputFormatter ..> Commentable: dependency
807+
OutputFormatter ..> InvalidArgumentException: dependency
770808
OutputFormatter ..> OutputFormat: dependency
809+
Parser ..> Document: dependency
771810
Parser ..> ParserState: dependency
811+
ParserState ..> Anchor: dependency
812+
ParserState ..> Comment: dependency
772813
ParserState ..> Settings: dependency
814+
ParserState ..> SourceException: dependency
815+
ParserState ..> UnexpectedEOFException: dependency
816+
ParserState ..> UnexpectedTokenException: dependency
773817
Value <|-- PrimitiveValue: inheritance
818+
Renderable ..> OutputFormat: dependency
774819
CSSElement <|.. Rule: realization
775820
Commentable <|.. Rule: realization
821+
Rule ..> OutputFormat: dependency
822+
Rule ..> ParserState: dependency
776823
Positionable <|.. Rule: realization
777824
Rule ..> RuleValueList: dependency
825+
RuleContainer ..> Rule: dependency
778826
CSSElement <|.. RuleSet: realization
779827
CSSListItem <|.. RuleSet: realization
828+
RuleSet ..> OutputFormat: dependency
829+
RuleSet ..> ParserState: dependency
780830
Positionable <|.. RuleSet: realization
781831
RuleSet ..> Rule: dependency
782832
RuleContainer <|.. RuleSet: realization
833+
RuleSet ..> UnexpectedValueException: dependency
783834
ValueList <|-- RuleValueList: inheritance
835+
Selector ..> OutputFormat: dependency
784836
Renderable <|.. Selector: realization
837+
Size ..> OutputFormat: dependency
838+
Size ..> ParserState: dependency
785839
PrimitiveValue <|-- Size: inheritance
786840
Exception <|-- SourceException: inheritance
787841
Positionable <|.. SourceException: realization
788842
URL ..> CSSString: dependency
843+
URL ..> OutputFormat: dependency
844+
URL ..> ParserState: dependency
789845
PrimitiveValue <|-- URL: inheritance
790846
UnexpectedTokenException <|-- UnexpectedEOFException: inheritance
791847
SourceException <|-- UnexpectedTokenException: inheritance
792848
CSSElement <|.. Value: realization
849+
Value ..> CSSFunction: dependency
850+
Value ..> ParserState: dependency
793851
Positionable <|.. Value: realization
852+
Value ..> RuleValueList: dependency
853+
Value ..> UnexpectedTokenException: dependency
854+
ValueList ..> OutputFormat: dependency
794855
Value <|-- ValueList: inheritance
795-
796-
CSSList ..> CSSList: dependency
797-
CSSList ..> Comment: dependency
798-
CSSList ..> RuleSet: dependency
799-
CSSNamespace ..> Comment: dependency
800-
Charset ..> Comment: dependency
801-
Import ..> Comment: dependency
802-
OutputFormat ..> OutputFormat: dependency
803-
Rule ..> Comment: dependency
804-
RuleSet ..> Comment: dependency
805-
ValueList ..> Value: dependency
806856
```
807857

808858
## API and deprecation policy

0 commit comments

Comments
 (0)