kmmbvnr / sarasvati

Automatically exported from code.google.com/p/sarasvati
0 stars 5 forks source link

isJoin for nodes not available #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If i try to setup a node like a join of multiple arcs, i get an error in
parsing the xsd schema. In fact looking at the ProcessDefinition.xsd file
inside the jar i can't see no more xs:attribute "isJoin" inside the node
attribute.

i'm using the svn tip (while in rc2 is working ok).

Original issue reported on code.google.com by kunitoki on 26 Aug 2009 at 7:21

GoogleCodeExporter commented 9 years ago
Sorry i didn't see the undocumented changes in the new rc3 (joinType instead of 
isJoin).

The problem is, if i set the joinType to something, when exporting the graph 
image i
don't see the node to be with a dotted outline (that indicates of a join).

How can i do that ?

Original comment by kunitoki on 26 Aug 2009 at 7:39

GoogleCodeExporter commented 9 years ago
Hi, 
 Sorry for the late response. Google Code emails weren't working for the last ~4 days
or so.

You should get the dotted outline if you use any joinType other than 'or'. So 
for
'and', 'labelAnd' and 'tokenSetAnd' you should see the dotted line.

If you're not seeing this, let me know what kind of joinType you are using and 
how
you're generating the image, and I'll see if I can reproduce it.

Original comment by plor...@gmail.com on 31 Aug 2009 at 12:52

GoogleCodeExporter commented 9 years ago
no i've been able to make it work as it should with joinType="and" thanx !

any way i can make some decision in the graph visualization so i can make it 
look
more professional like the ones you are using on the wiki pages (different 
shapes,
colours, vertical stripping, or orizontal) ?

Original comment by kunitoki on 31 Aug 2009 at 6:54

GoogleCodeExporter commented 9 years ago
You can use 

com.googlecode.sarasvati.visual.GraphToImageMap and
com.googlecode.sarasvati.visual.ProcessToImageMap

or their corresponding Adapter classes. You can override the iconForNode to 
control
what gets drawn. The OvalNodeIcon and RectangularNodeIcon classes both have
constructors that allow you specify the color.

Original comment by plor...@gmail.com on 31 Aug 2009 at 5:13

GoogleCodeExporter commented 9 years ago
Controlling vertical vs horizontal isn't supported yet. It's partially coded, 
but
there's no good API for it yet.

Original comment by plor...@gmail.com on 31 Aug 2009 at 5:21