Dear Fahima Babaee, If you use the Semigroups package for GAP:
https://gap-packages.github.io/Semigroups/ you can draw the D-class diagram of a finite semigroup by doing: Splash(DotDClasses(S)); As long as you have graphviz installed on your computer. If you have graphviz installed and the above command does not work (it should, but just in case it does not), then you can write the output of DotDClasses(S) to a file by doing: FileString("name-of-a-file.dot", DotDClasses(S)); and then process the resulting file in the terminal by doing: dot -Tpdf name-of-a-file > name-of-a-file.pdf to produce a pdf file. Best wishes, James On Tue, 8 Nov 2016 at 08:46 fahime babaee <f.alibab...@gmail.com> wrote: > Dear forum > > How can I draw the egg box of D class of a semigroup with GAP. I used > function DrawDClasses(S,"DClasses"), but it dose not work and it ask me to > install gsviwer but I already have gsviwer on my system. > > Sincerely > _______________________________________________ > Forum mailing list > Forum@mail.gap-system.org > http://mail.gap-system.org/mailman/listinfo/forum > _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum