Skip to content

Commit 1bdd178

Browse files
committed
use drawio for schema
1 parent 8371905 commit 1bdd178

File tree

2 files changed

+297
-18
lines changed

2 files changed

+297
-18
lines changed

src/content/docs/users/famix-java/famix-java.mdx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: 'Famix Java'
44

55
import ClassNeighborhoodSVG from './img/class-neighborhood.drawio.svg';
66
import ParametricsSVG from './img/parametrics.drawio.svg';
7+
import TypesSVG from './img/types.drawio.svg';
78

89
Famix Java is the metamodel included in Moose used to represent any Java application.
910
As you can imagine, the metamodel is rather than complicated.
@@ -27,22 +28,7 @@ For instance, it also includes LocalVariable, Parameters, ParametricClasses and
2728
2829
## Type neighborhood
2930

30-
```mermaid
31-
classDiagram
32-
FamixJavaMethod "*" <--* FamixJavaType : methods
33-
FamixJavaAttribute "*" <--* FamixJavaClass: attributes
34-
FamixJavaAttribute "*" <--* FamixJavaInterface: attributes
35-
36-
FamixJavaType <|-- FamixJavaClass
37-
FamixJavaType <|-- FamixJavaEnum
38-
FamixJavaType <|-- FamixJavaInterface
39-
FamixJavaType <|-- FamixJavaPrimitiveType
40-
FamixJavaType <|-- FamixJavaParameterType
41-
FamixJavaType <|-- FamixJavaWildcard
42-
FamixJavaClass <|-- FamixJavaException
43-
FamixJavaClass <|-- FamixJavaParametricClass
44-
FamixJavaInterface <|-- FamixJavaParametricInterface
45-
```
31+
<TypesSVG className="svg-theme" />
4632

4733
Types are the central pieces of Object-Oriented programming languages.
4834
In the FamixJava meta-model, all types are subclass of the FamixJavaType concept.

0 commit comments

Comments
 (0)