Giter VIP home page Giter VIP logo

Comments (9)

blipinsk avatar blipinsk commented on May 31, 2024 2

I believe I found the issue, it was due to code formatting.

The plugin expects transitionTo methods to be formatted in a single line.

this is ok πŸ‘ for the plugin:

transitionTo(SomeEvent.WhatALongName, SomeSideEffect.WhatALongName)

this is very not ok πŸ‘Žfor the plugin:

transitionTo(
    SomeEvent.WhatALongName, 
    SomeSideEffect.WhatALongName
)

from statearts.

nvinayshetty avatar nvinayshetty commented on May 31, 2024

Do you have graph-viz installed? Which OS you are using?

from statearts.

tinder-yisongwu avatar tinder-yisongwu commented on May 31, 2024

Yeah I do have that installed on the Mac OS 10.13.5

from statearts.

nvinayshetty avatar nvinayshetty commented on May 31, 2024

Do you see a red error icon in the bottom right corner of the IDE when this error happens? If yes it will have some stack trace could you share that stack trace?
Is the dot file generated correctly? it's on build/stateArt/state folder.

from statearts.

nvinayshetty avatar nvinayshetty commented on May 31, 2024

@tinder-yisongwu Any updates? Can I close this issue?

from statearts.

nvinayshetty avatar nvinayshetty commented on May 31, 2024

Closing as I'm not able to reproduce.

from statearts.

rrozek avatar rrozek commented on May 31, 2024

in my case the issue was by default under windows graphviz installs under
C:\Program Files (x86)\Graphviz2.38
, while plugin search for
C:\Program Files (x86)\Graphviz 2.38
(note the space) when i added space in my pathfile then it worked. @tinder-yisongwu

from statearts.

blipinsk avatar blipinsk commented on May 31, 2024

I have the same issue.

Graphs for some state machines are displayed when clicking the icon and some of them result in Cannot perform operation. Too complex, sorry message.

graphviz installed with brew on Mac.

Can I provide any logs or something for you to debug the issue @nvinayshetty?

from statearts.

zjn0505 avatar zjn0505 commented on May 31, 2024

Same error here on mac with graphviz installed.
I can create state art for all other state machines in the project except one.
I didn't apply multi-line code format to transition.

Now even I copy this state machine to a new class, or comment out with only one state left, still got the error.

from statearts.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.