Tags:
create new tag
view all tags

SID-02403: DirectedGraph not rendering

Status: Asked Asked TWiki version: 6.0.2 Perl version: v5.14.1
Category: DirectedGraphPlugin Server OS: Red Hat Enterprise Linux Server release 6.9 (Santiago) Last update: 6 years ago

We tried to install graphviz via instruction at http://www.linuxfromscratch.org/blfs/view/svn/general/graphviz.html but getting the following error message instead of the graph

DirectedGraph Error (127):

Processing /usr/bin/.convert -density %DENSITY|N% -geometry %GEOMETRY|S% %INFILE|F% %OUTFILE|F%

We have the following code:

|  <dot antialias="on" size="800x800">
  digraph GRS {
  fontsize=8;
  nodesep=0.5;
  RESET [shape=none label="~Cpl_PC6PWROK or\nWarmReset"];
  IDLE [label="Idle(1)\nExitCnt=63"];
  FUSE [label="Fuse(3)\nExitCnt=23"];
  WAIT [label="Wait(2)\nExitCnt=7"];
  BIST [label="BIST(6)\nExitCnt=7"];
  INIT [label="Init(7)\nExitCnt=7"];
  TEST [label="Test(5)\nExitCnt=7"];
  UCGO [label="UcGo(4)\nExitCnt=7"];
  DONE [label="Done(0)\nExitCnt=1"];
  RESET -&gt; IDLE;
  IDLE -&gt; FUSE;
  FUSE -&gt; WAIT [label="FuseDone\nfrom FuseCtl "];
  WAIT -&gt; BIST;
  BIST -&gt; INIT [label="GrsBistDone\nfrom BistCtl "];
  INIT -&gt; TEST [label="SoftRepairDone\nfrom FuseCtl "];
  TEST -&gt; UCGO;
  UCGO -&gt; DONE;
  DONE -&gt; IDLE [label="L3IReset"];
  { rank = same; RESET IDLE }
  { rank = same; UCGO DONE }
}
</dot>  |

-- Sukant K - 2019-04-25

Discussion and Answer

Any solution would be appreciated.

-- TWiki Guest - 2019-05-02

Any solution would be appreciated.

-- TWiki Guest - 2019-05-02

I am not familiar with this plugin, but reading the docs and code, add a DIRECTEDGRAPHPLUGIN_DEBUG setting in your Main.TWikiPreferences, and see generated temp files in /tmp. Look also at the twiki/data/debug.txt

-- Peter Thoeny - 2019-05-03

Hello Peter,

We added DIRECTEDGRAPHPLUGIN_DEBUG setting in your TWikiPreferences and below message getting in twiki/data/debug.txt but there is no temp files generated in /tmp.

| 2019-05-08 - 19:27:55 | EasyTimelinePlugin - - TWiki::Plugins::EasyTimelinePlugin::initPlugin( DirectedGraphPlugin ) is OK | 2019-05-08 - 19:27:55 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:27:55 | - EasyTimelinePlugin::commonTagsHandler( WebBottomBar ) | 2019-05-08 - 19:27:55 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:27:55 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:07 | EasyTimelinePlugin - - TWiki::Plugins::EasyTimelinePlugin::initPlugin( DirectedGraphPlugin ) is OK | 2019-05-08 - 19:28:07 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( WebLeftBarLogin ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( WebLeftBarWebsList ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( WebLeftBar ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( LanguageSelector ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( WebTopBar ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( WebBottomBar ) | 2019-05-08 - 19:28:08 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin ) | 2019-05-08 - 19:28:09 | - EasyTimelinePlugin::commonTagsHandler( DirectedGraphPlugin )

-- TWiki Guest - 2019-05-08

Per article https://foswiki.org/Extensions/DirectedGraphPlugin

Verified installation using below steps: Ensure that the dot command can manually generate a png file. From a command prompt, enter dot -v Then ^c and examine the output. You should see png as a listed device, and can confirm that textlayout uses cairo.

Result: dot - graphviz version 2.40.1 (20161225.0304) libdir = "/usr/local/lib/graphviz" Activated plugin library: libgvplugin_dot_layout.so.6 Using layout: dot:dot_layout Activated plugin library: libgvplugin_core.so.6 Using render: dot:core Using device: dot:dot:core The plugin configuration file: /usr/local/lib/graphviz/config6 was successfully loaded. render : dot dot_json fig json json0 map mp pic pov ps svg tk vml xdot xdot_json layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi textlayout : device : canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 xdot_json loadimage : (lib) eps gif jpe jpeg jpg png ps svg

NOTE: png is not listed under device instead of I can see in loadimage. Is something need to change?

If using the antialias option, ensure that ImageMagic convert command can convert from a .ps to .png format.

We configured as Set DIRECTEDGRAPHPLUGIN_ANTIALIAS = off

Can you please help here.

-- TWiki Guest - 2019-05-08

Hi,

Any help would be most appreciated.

-- TWiki Guest - 2019-05-10

      Change status to:
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.
SupportForm
Status Asked
Title DirectedGraph not rendering
SupportCategory DirectedGraphPlugin
TWiki version 6.0.2
Server OS Red Hat Enterprise Linux Server release 6.9 (Santiago)
Web server httpd-2.2.15-69.el6.x86_64
Perl version v5.14.1
Browser & version Firefox 65
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2019-05-10 - TWikiGuest
 
  • 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.