Changes between Initial Version and Version 1 of Ticket #14564, comment 15


Ignore:
Timestamp:
10/03/13 19:59:48 (4 years ago)
Author:
darij
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14564, comment 15

    initial v1  
    55Having a keyword for {{{graph}}} seems more reasonable indeed, but there is a problem with this. If I set the default option to ignore leaves, then it changes the semantics of the method (currently it doesn't ignore leaves). If I set the default option to use leaves, then it is the opposite of the default option in {{{to_undirected_graph}}}. So I would be either planting a backwards compatibility landmine or a false analogy landmine. Which is better?
    66
     7Or, wait. Should I deprecate {{{graph}}} and introduce a {{{to_graph}}} method instead (for better analogy with {{{to_undirected_graph}}})?
     8
    79Best regards,\\
    810Darij