$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (dgregor_at_[hidden])
Date: 2007-09-11 10:26:36
Meththa wrote:
> I want to use the Kamada Kawai spring layout algorithm and I do not 
> know what to pass for the final parameter when calling the function. 
> the template of the function is given below.
>  
> *template*<*typename* Graph, *typename* PositionMap, *typename* 
> WeightMap, *typename* T, *bool* EdgeOrSideLength>
>   *bool* kamada_kawai_spring_layout(*const* Graph & g, PositionMap 
> position, WeightMap weight, /unspecified/ edge_or_side_length);
> I do not understand what value needs to be given and what type for 
> /unspecified edge_or_side_length./
> // 
> Can someone please point me in the right direction with regards to this.
If you want the side of the bounding box to be of length "s", pass 
boost::side_length(s)
If you want the "normal" edge length to be e, pass boost::edge_length(e).
    - Doug