Hello friends,

I'm trying to draw the inicial state of an automata. It's a circle with an arrow pointing to it.

In the example bellow, the inicial state is the cell q0. http://dc377.4shared.com/doc/LKilDmAb/preview006.png


asked 18 Sep '12, 09:57

emaschio's gravatar image

accept rate: 20%

Thanks, friend. (o:

I've tried to use an image. Setting it in the style. But I'm looking for a better way, putting an arrow in the style. I'm asking because it's a basic situation on the scope of graphs and, as we have the mxConstants.SHAPE_DOUBLE_ELLIPSE that is a style for final states in automatas.

Now I'm trying to create a "phanton" vertex with a visible edge pointing to the inicial state.

But, in fact, I really don't think that I need too much code to do that.



answered 18 Sep '12, 19:59

emaschio's gravatar image

accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 18 Sep '12, 09:57

Seen: 1,265 times

Last updated: 18 Sep '12, 19:59