Giter VIP home page Giter VIP logo

Comments (6)

joeriexelmans avatar joeriexelmans commented on May 20, 2024 1

Hi @sverweij ! Thank you very much for the quick response.
I can confirm your fix is working for my original use case.

from state-machine-cat.

sverweij avatar sverweij commented on May 20, 2024

hi @joeriexelmans thanks for raising this issue - it seems you've bumped into a bug. I've reproduced it and have found a likely root cause. I hope to fix it over the coming days - I'll keep you posted in this thread.

from state-machine-cat.

sverweij avatar sverweij commented on May 20, 2024

@joeriexelmans Found a fix quicker than anticipated - I've put it up on https://sverweij.gitlab.io/state-machine-cat/ and published it on npm with the beta tag ([email protected]).

=> Could you verify if it works for your original use case as well?

I'll publish to the regular npm/ state-machine-cat.js.org and the atom package later this week.

B.t.w. Thanks for your excellent bug description - it helped a lot in narrowing down the fix. Your example now renders like this:

state-machine-2020-03-03T19_34_13 507Z

from state-machine-cat.

sverweij avatar sverweij commented on May 20, 2024

hi @joeriexelmans thanks for testing & getting back! I've published version 6.0.4 to npm and state-machine-cat.js.org (the atom package will follow later)

from state-machine-cat.

joeriexelmans avatar joeriexelmans commented on May 20, 2024

@sverweij By the way, if you are interested in a bunch of statecharts that I rendered, you can have a look at this directory of this branch of this repository:
https://msdl.uantwerpen.be/git/simon/SCCD/src/joeri/test/test_files
Most images look pretty OK. They will look better when Graphviz' dot starts natively supporting true edges between clusters :)

The project I'm working on is my master thesis: A statechart interpreter with configurable semantic variability (see http://msdl.cs.mcgill.ca/people/joeri/10_Thesis). The input format uses XML and based on SCXML, but differs in some ways. To render statecharts, the input format is loaded to an internal state tree representation (which serves as input to the interpreter), and this tree is then converted to your 'smcat' format in a dirty script.

Statecharts written in XML are difficult to read, especially since I'm dealing with many different XML files that serve as tests to the interpreter. It's a huge help being able to render my statecharts.

from state-machine-cat.

sverweij avatar sverweij commented on May 20, 2024

@joeriexelmans o wow that looks like cool master thesis. Thanks for sharing this!

render.py is the conversion script?

I'm still looking for an alternative to GraphViz that has the capabilities needed for state machines, but that look better (so pretty OK gets to wow that's nice!) and have better native web support.

from state-machine-cat.

Related Issues (20)

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.