Comments (2)
The source code in the src/
directory belongs to the author of this repository but is released under the MIT license. So you can do whatever you want with it according to said license agreements: basically, you can not change the license of the original work, but changes to it can be released under specific license agreements. Also, the safest way to use this tool for your thesis needs would be to just mention it, state your changes, and provide instructions on how to merge them into (or run them using) the tool.
Besides, I have improved this tool in one of my Github repositories named nvc which stands for Network View Controller. It provides an API-like interface for developers to use, so you might want to take a look at it for your thesis work.
Hope this answer helps!
from fsm.
Following our little discussion, I realized that you're using Network View Controller in your Finite Automaton Recognizer to render automata recognized from hand-drawn ones... Now that stable releases are available for nvc, I'd like to share a contextual approach to using the latest version of the tool in your project. Said version is currently 1.1.1 and provides stand-alone HTML examples (among other changes inherited from previous versions recorded in CHANGELOG.md
). Please read on if you are interested.
'frontend' directory of your project
- Clear the content of the directory.
- Add
README.md
file with the following Markdown text for example.
text begins here (you can ignore unnecessary newlines)
This directory contains standalone HTML examples taken from nvc version 1.1.1. Said examples were obtained as follows according to the documentation.
... # download or git clone/checkout nvc source code targeting the version stated above
cd nvc # navigate to the directory containing nvc source code
npm install
npm run examples:html:update # update HTML examples with latest dependencies
... # copy the content of examples/html_pages from nvc into this directory
text ends here
At this point, the following data should have been copied into the frontend
directory of your project.
- File
examples/html_pages/01_basic.html
→ Filefrontend/01_basic.html
- File
examples/html_pages/02_advanced.html
→ Filefrontend/02_advanced.html
- Directory
examples/html_pages/api_files
→ Directoryfrontend/api_files
'recognition/IO/0_frontend.html' file of your project
- Replace the content of the file with that of
frontend/01_basic.html
created earlier. - Replace the first comment in the file as follows, for example.
<!-- HTML file for viewing recognized automata.
Adapted from ../../frontend/01_basic.html. -->
- Replace
./api_files
with../../frontend/api_files
in the file. - Add
<script src="./output.js"></script>
right after the script tag pointing tonvc_quick.js
in the file. - Replace the following line in the file as shown below.
what to replace
// allow the user to see all nodes and text items but not necessarily links
replacement
// load the JSON data generated for the previously recognized automaton (see output.js)
Nvc.quick.outputText(json);
Nvc.quick.loadJsonFromOutput();
// allow the user to see all nodes and text items but not necessarily links
What else?
The changes suggested above, which I figured out by following the latest Git commits regarding your project's frontend, assume that nvc is not used anywhere else in the project. If this is not the case, please take the necessary steps accordingly. All the best!
from fsm.
Related Issues (20)
- Cannot write [ ] { } characters in labels
- Add possibility of output in a state
- No "Delete" key on some keyboards HOT 1
- Is the FSM repository up to date? HOT 4
- Cannot run FSM from local machine HOT 1
- Circle sizes
- Initial state HOT 1
- feature request: undo
- feature request: clear canvas HOT 1
- "export as PNG' broken on Google Chrome HOT 1
- can't delete FSM elements on macos HOT 3
- "Clear All" button
- Characters not being escaped
- overlapping back-and-forth edges/transitions HOT 2
- Licensing HOT 1
- Can't loop back from one state to the previous state clearly HOT 3
- Using a simple notation for export and import HOT 1
- Add import function to load a previously created fsm HOT 4
- Improving Latex Export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsm.