Thanks. I was actually looking into that right now.

I found out that even the graphviz addon doesn't work on my development machine 
(WindowsXP Pro). I couldn't follow instruction on the wiki 
<http://www.jsoftware.com/jwiki/Addons/graphics/graphviz> to run "install.bat" 
since there is no such file or even a "bin" directory in my 
addons/graphics/graphviz directory. 

What I did do is download the latest version of Graphviz from its official 
website <http://www.graphviz.org> and pasted the result of makegraph makedb in 
it and it created a nice diagram for me. 

Needs to do some more digging. :) Thanks again.


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Oleg Kobchenko
Sent: Monday, November 30, 2009 6:17 PM
To: Programming forum
Subject: Re: [Jprogramming] JDB/graph Error

Make sure you understand how graphics/graphviz addon works.
(See Installation section in Wiki.)

It is supported for Winsows and Mac, but you may need
your own support for Linux.

The http://www.jsoftware.com/jwiki/JDB/Graph page is updated
with database build/init calls.




> From: Alex Rufon <[email protected]>
> 
> Hi,
> 
> I'm getting an "Error: Nothing is generated" message when trying to run the 
> graphdb script found here: 
> 
> I just get a  form with a two panels where the one on the left has some text 
> and 
> the panel on the write is just a white blank screen.
> 
> I tried running the following which I think would be helpful (beware of wrap 
> arounds):
> NB. =========================================================
> NB. START OF J SESSION
> NB. Running makedb
>    makedb locdb
>   Worlds 
> [label="{{Worlds}|{*WorldID\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   ClassTypes 
> [label="{{ClassTypes}|{*ClassTypeID\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Classes 
> [label="{{Classes}|{*ClassID\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   SubClasses 
> [label="{{SubClasses}|{*SubClassID\l|Class\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   SubSubClasses 
> [label="{{SubSubClasses}|{*SubSubClassID\l|SubClass\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Entities 
> [label="{{Entities}|{*EntityID\l|World\l|Class\l|SubClass\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   ProductServiceItems 
> [label="{{ProductServiceItems}|{*PSI_ID\l|World\l|Class\l|SubClass\l|SubSubClas\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Classes:ClassType -> ClassTypes;
>   SubClasses:Class -> Classes;
>   SubClasses:ClassType -> ClassTypes;
>   SubSubClasses:SubClass -> SubClasses;
>   SubSubClasses:ClassType -> ClassTypes;
>   Entities:World -> Worlds;
>   Entities:Class -> Classes;
>   Entities:SubClass -> SubClasses;
>   ProductServiceItems:World -> Worlds;
>   ProductServiceItems:Class -> Classes;
>   ProductServiceItems:SubClass -> SubClasses;
>   ProductServiceItems:SubSubClas -> SubSubClasses;
> 
> NB. Runnign makegraph makedb
>    makegraph makedb locdb
> digraph g {
>   rankdir=TB;
>   portPos="e";
>   node [  shape=record,
>   fontname=Arial,fontsize=9,
>   margin="0.05,0.02",
>   style=filled,fillcolor="#ffffb0",color="#808080"
> ];
>   Worlds 
> [label="{{Worlds}|{*WorldID\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   ClassTypes 
> [label="{{ClassTypes}|{*ClassTypeID\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Classes 
> [label="{{Classes}|{*ClassID\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   SubClasses 
> [label="{{SubClasses}|{*SubClassID\l|Class\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   SubSubClasses 
> [label="{{SubSubClasses}|{*SubSubClassID\l|SubClass\l|ClassType\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Entities 
> [label="{{Entities}|{*EntityID\l|World\l|Class\l|SubClass\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   ProductServiceItems 
> [label="{{ProductServiceItems}|{*PSI_ID\l|World\l|Class\l|SubClass\l|SubSubClas\l|Description\l|CreatedBy\l|CreateDate\l}}"];
>   Classes:ClassType -> ClassTypes;
>   SubClasses:Class -> Classes;
>   SubClasses:ClassType -> ClassTypes;
>   SubSubClasses:SubClass -> SubClasses;
>   SubSubClasses:ClassType -> ClassTypes;
>   Entities:World -> Worlds;
>   Entities:Class -> Classes;
>   Entities:SubClass -> SubClasses;
>   ProductServiceItems:World -> Worlds;
>   ProductServiceItems:Class -> Classes;
>   ProductServiceItems:SubClass -> SubClasses;
>   ProductServiceItems:SubSubClas -> SubSubClasses;
> 
> }
> 
> NB. END OF J SESSION
> NB. =========================================================
> 
> Am I missing something? Do I need to install additional softwares to get the 
> it 
> running? I will appreciate any help on this.
> 
> Thanks!
> 
> r/Alex
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to