Ticket #8031 (new enhancement)
Opened 3 years ago
make graph_editor also available as a *method* on graphs
| Reported by: | was | Owned by: | rlm |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.11 |
| Component: | graph theory | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
This is nice:
g = graphs.CompleteGraph(5) graph_editor(g)
but this would be even better:
g = graphs.CompleteGraph(5) g.edit()
It could also fit into a framework where we have "edit" methods for all kinds of objects in Sage, including matrices, elliptic curves, etc.,. These could be implemented using @interact in many cases.
Note: See
TracTickets for help on using
tickets.
