Tags:
create new tag
view all tags

Question

The FlowchartPlugin installs correctly and creats the png file just fine. However, my flowchart doesn't "trunk" even though I have told it to. It just flows straight.

Any help will be greatly appreciated.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, FlowchartPlugin
Server OS: Centos
Web server: apache
Perl version: 5.8.5
Client OS:  
Web Browser: IE and Firefox
Categories: Plugins

-- JennFountain - 14 Sep 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I guess my problem is because this wasn't tested on the latest version. Is this plugin still being developed? Will it be available for 4.0.4?

-- JennFountain - 02 Oct 2006

I posted the question in the FlowchartPluginDev discussion topic.

-- PeterThoeny - 02 Oct 2006

I have encountered the same problem. It's in the plugin code FlowchartPlugin.pm, a regex issue. The lines are parse but no recognized so they are not properly handled in the function registerLastItem.

Someone has change

if ( $line =~ m/^[ ][ ][ ]\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) {
to
if ( $line =~ m/^\s\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) {

So it won't match the FlowchartPluginExample. If you add an asterisk * after the \s. It will match again

BTW, They're seems to be more issues with this plugin. The match in afterSaveHandler didn't work for me at first till I change the regex there too.

-- KhanphaphoneVongsavanthong - 05 Jul 2007

I just switched: if ( $line =~ m/^\s\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) { with if ( $line =~ m/^[ ][ ][ ]\*\s*(.+?[^ ])\s*:\s*(.+[^ ])\s*/ ) { and the plugin works!

-- HansRogerLien - 15 Jan 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-01-15 - HansRogerLien
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.