Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/pkg/jupyterviz/examples/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 16.7.2022 mit Größe 570 B image not shown  

Quelle  08bettergraph.md   Sprache: unbekannt

 
Spracherkennung für: .md vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]


# Drawing a better graph

We can improve the previous example by removing the edges from
each subgroup to itself.  We do so by redefining our edge relation
to exclude nonproper inclusions.

We can improve it further by making the edges directed and the
layout try to respect the graph's structure.  We do so by passing
a third argument to `PlotGraph`, a record of options.

```
G := Group( (1,2,3), (1,2) );
S := function ( H, G )
    return IsSubgroup( G, H ) and H <> G;
end;
PlotGraph(
    AllSubgroups( G ), S,
    rec( directed := true, layout := "grid" )
);
```


[ Dauer der Verarbeitung: 0.33 Sekunden  ]