Pong,
All of this is documented, and you can get to it by typing
sage: G.show?
Normally, the Python/Sage way of dealing with objects is to put the
object first, with a dot afterwards. Then, you can hit tab to see all
the functions available for that object, and type one ? for docs,
and ?? for s
Mike Hansen wrote:
> Hello,
>
> On Thu, Sep 25, 2008 at 9:50 AM, pong <[EMAIL PROTECTED]> wrote:
>> I'm still having problem in displaying the label of the edges using
>> DiGraph. I have read more from this group and tried:
>>
>> G=DiGraph({1:{1:['hola','hi'], 2:['two','dos']},2:{1:['one']}},
>>
Thanks!!
A more general question, how can I find out all the possible options
for a command, like "show" for example?
I've tried show.option? which doesn't seem to work.
On Sep 25, 9:56 am, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> On Thu, Sep 25, 2008 at 9:50 AM, pong <[EMAIL P
Hello,
On Thu, Sep 25, 2008 at 9:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> I'm still having problem in displaying the label of the edges using
> DiGraph. I have read more from this group and tried:
>
> G=DiGraph({1:{1:['hola','hi'], 2:['two','dos']},2:{1:['one']}},
> loops=True, multiedges=True)
I'm still having problem in displaying the label of the edges using
DiGraph. I have read more from this group and tried:
G=DiGraph({1:{1:['hola','hi'], 2:['two','dos']},2:{1:['one']}},
loops=True, multiedges=True)
G.edges()
[(1, 1, 'hi'), (1, 1, 'hola'), (1, 2, 'dos'), (1, 2, 'two'), (2, 1,
'one'