ClassDiagram

classdiagram {

    comment = ''comment text'';

    layout = satellite (entity) | grid (cols, entity ...);

    entities {

        entity1 [relationship entity2];

        ...

    }

    [visuals {

         entity_margin = <integer>;

    }]

}

Declares a class diagram for output as SVG. The comment text will be used as a legend for the diagram.

The entities collection should be a list of entities with their relationships to other entities. Entities only have to appear once in here to be drawn on the diagram (it doesn't matter which side of a relationship they are on).

The layout determines how the diagram will be laid out.



Subsections

http://www.rawsontetley.org