Graph products in graph-tool: does implementation exist?
Dear graph-tool mailing list, Do either of you know of an implementation of standard graph products, using graph-tool? I'm referring to graph products like Cartesian product, lexicographic product, etc. I have searched the documentation and mailing list archives, but have come up empty handed. Kind regards, Rasmus
On 18.11.2014 16:50, Rasmus K. Rendsvig wrote:
Dear graph-tool mailing list,
Do either of you know of an implementation of standard graph products, using graph-tool? I'm referring to graph products like Cartesian product, lexicographic product, etc.
I have searched the documentation and mailing list archives, but have come up empty handed.
No, this is not yet implemented. If you want it, you can open a ticket on the website with the feature request. Please include sufficient information of what exact algorithms you want, with links, etc. They will be implemented as time permits. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Thank you, that is much appreciated. I need only one particular product for the moment, so I have gotten started implementing that, and have a question: In order to visualize the growing graph, is there a layout algorithm and parameter adjustment that is recommendable? I'm currently following the code provided in the Dynamics example, using the sfdp_layout, but this seems erratic. I would ideally like that the graph is stationary, with new nodes "just added". I know things are not that simple, but recommendations would be appreciated. Best, Rasmus -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 19.11.2014 14:33, rasmus wrote:
Thank you, that is much appreciated.
I need only one particular product for the moment, so I have gotten started implementing that, and have a question:
In order to visualize the growing graph, is there a layout algorithm and parameter adjustment that is recommendable?
I'm currently following the code provided in the Dynamics example, using the sfdp_layout, but this seems erratic. I would ideally like that the graph is stationary, with new nodes "just added". I know things are not that simple, but recommendations would be appreciated.
Take a look at the "pin" parameter of sfdp_layout(). With this you can specify a set of nodes which have their position preserved during the layout. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (3)
-
rasmus -
Rasmus K. Rendsvig -
Tiago de Paula Peixoto