#14712: An Hypergraph class for visualization (pretty basic one !)
-----------------------------+----------------------------------------------
Reporter: ncohen | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.11
Component: PLEASE CHANGE | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors: Nathann Cohen
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
Helloooooooooooo !!
This patch implements a veeeeeeeery basic Hypergraphs class whose only
purpose is to draw them. It's very hard to get something meaningful, and I
implemented it as I needed to draw many many many hypergraphs with less
than 5 or 6 sets.
And it takes time to manually go through all the sets, and wonder how it
should be drawn on a sheet of paper. I have heaps of them. This code made
my life easier, and that's why I submit it as a patch even though it is
pretty basic. If somebody thinks that it can prove useful to somebody else
...
In particular, even though I have been thinking hard about this for a long
time, this patch does not contain any data structure for hypergraphs, nor
the most basic hypergraphs functions. I haven't had the need to write one
until now, and I don't want to write code that I do not need, for I don't
believe that you can write good code that you don't use yourself `^^;`
.... though I will probably work on that in not so long.
Have fuuuuuuuuuuuuuuuuun !
P.S. : Oh, and this patch also fixes an awkwardness with TikZ and LaTeX :
if you need to add a package to LaTeX in a `._latex_` method, you can now
add the package to the preamble in the `._latex_` method itself and
everything will run smoothly.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14712>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.