Lines Matching refs:opts
121 }elseif($opts['fillcolor'][0] == '#'){
157 foreach($this->nodes as $name => $opts){
160 'text' => (($opts['label']) ? $opts['label'] : $name),
161 'color' => $this->color($opts['fillcolor'],'cccccc'),
162 'textcolor' => $this->color($opts['fontcolor'],'000000'),
164 if($opts['url']){
165 if(preg_match('/^\w+:\/\//',$opts['url'])){
166 $node['link'] = $opts['url'];
168 $node['link'] = wl($opts['url']);
171 if($opts['image']){
172 $node['image'] = ml($opts['image'],array('w'=>40,'h'=>40),true,'&');
174 …ngle|polygon|diamond|trapezium|parallelogram|Msquare|box3d|component)$/',$opts['shape'])) $node['t…
182 $opts = (array) $edge[2];
186 'label' => $opts['label'],
187 'textcolor' => $this->color($opts['fontcolor'],'000000'),
198 list($node,$opts) = explode('[',$line,2);
199 if($opts){
200 $opts = rtrim($opts,']');
201 $opts = $this->parseOpts($opts);
205 if($node) $this->nodes[$node] = $opts;
209 list($edge,$opts) = explode('[',$line,2);
210 if($opts){
211 $opts = rtrim($opts,']');
212 $opts = $this->parseOpts($opts);
220 if($from && $to) $this->edges[] = array($from,$to,(array)$opts);