Opened 14 years ago
Last modified 8 years ago
#399 new enhancement
Missing getter and streaming operator for Node/Arc id
Reported by: | tobi_connect | Owned by: | Alpar Juttner |
---|---|---|---|
Priority: | major | Milestone: | LEMON 1.5 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
please implement a getter and streaming operator for the id field of the Node and Arc class. This would be very helpful. Always have to use the graph class is very inconvenient and sometimes not even possible. thx
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 12 years ago by
Milestone: | LEMON 1.3 release → LEMON 1.4 release |
---|
comment:3 Changed 8 years ago by
Milestone: | LEMON 1.4 release → LEMON 1.5 release |
---|
Note: See
TracTickets for help on using
tickets.
Replying to tobi_connect:
As far as I remember, it is intentional that these kind of operations are not part of the graph concept (we cannot assume that Node of each graph type will "know" its id).
This doesn't mean however that certain graph implementations (such as
ListGraph
orSmartGraph
) can not provide this feature.So, a patch implementing it is very welcome.