-
Notifications
You must be signed in to change notification settings - Fork 70
Added jupyter notebook integration and new visualization #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 30 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
e1c2317
Added `get_state_name`
khoda81 7d657fc
Fixed reordering list and tuple
khoda81 128d38a
Added abstract methods for visualization
khoda81 ae0d996
Implemented graph visualization
khoda81 4ca7067
Fixed svg display bug
khoda81 ae19ccb
Removed IpythonGraph class
khoda81 86a8d8c
Fixed repr error for frozenset states
khoda81 f9e2295
Fixed `null_node` edge tooltip
khoda81 6deff5d
Removed unused imports
khoda81 3eed0e4
Added basic visualizations from Visual Automata
khoda81 b73ef8d
Replaced " with '
khoda81 6b91b7c
Sort dependencies in requirements.txt
caleb531 720b71b
Update remaining files to comply with flake8/black
caleb531 5dd6474
Using null set symbol for empty sets
khoda81 1f5bcd9
Added step visualization for DFA
khoda81 0a2a9f5
Fixed dfa step visualization label bug
khoda81 c7f283e
Improved coloring for step visualization
khoda81 9526482
Implemented step visualization for `NFA`
khoda81 df9f3e4
Final touches for rebasing
khoda81 a48ffef
Added `get_state_name`
khoda81 3ee49fb
Fixed reordering list and tuple
khoda81 fc6b09e
Added abstract methods for visualization
khoda81 5e55b99
Implemented graph visualization
khoda81 ad144a8
Removed IpythonGraph class
khoda81 878de2a
Fixed `null_node` edge tooltip
khoda81 051808f
Removed unused imports
khoda81 9b883fc
Added basic visualizations from Visual Automata
khoda81 a4ae8d8
Added step visualization for DFA
khoda81 fffa1fa
Implemented step visualization for `NFA`
khoda81 c3fc3b4
Added back frozendict as a dependency
khoda81 fd8e27e
Cleaned up api added for visualization
khoda81 c3e58be
Changed back to `AbstractSet`
khoda81 ec7a977
Merge branch 'develop' into jupyter-integration
eliotwrobson e41dbe5
Update automaton.py
eliotwrobson 583424e
Merge branch 'jupyter-integration' of https://github.com/khoda81/auto…
eliotwrobson 7cc87cb
Update automaton.py
eliotwrobson aab3eb5
More tests passing
eliotwrobson 36083f2
Update fa.py
eliotwrobson 957c2d9
Update gnfa.py
eliotwrobson 7958451
Change some types
eliotwrobson e36d2c6
Type fixes
eliotwrobson 55f8120
Update nfa.py
eliotwrobson 8513a89
Simplify get edge name function
eliotwrobson fc7bee3
List functions
eliotwrobson 55bd711
Put import behind check
eliotwrobson 165d25b
Fixed some conflicting variable names
eliotwrobson b00470e
Update fa.py
eliotwrobson e52e2bd
Started switch to pygraphviz
eliotwrobson 01a897e
Update requirements
eliotwrobson 479bbd2
Update requirements.txt
eliotwrobson 7b9def2
Update tests.yml
eliotwrobson b212b05
Modify tests
eliotwrobson 9f1f8af
Typing fixes
eliotwrobson 91b0af2
Update fa.py
eliotwrobson d0c6452
Cleaned up display logic
eliotwrobson a48387e
Type fix
eliotwrobson b7ffb65
Type fix
eliotwrobson d8dbcae
Update nfa.py
eliotwrobson 37c5e6a
Removed caching because of mypy issues
eliotwrobson 119e942
Fixed GNFA freezing
eliotwrobson abb13e3
import fix
eliotwrobson 5c44c0e
Update gnfa.py
eliotwrobson 854b753
Updated DFA display test
eliotwrobson c8f60c4
Updated DFA display tests
eliotwrobson 820136f
mypy fix
eliotwrobson 1987dbe
Update test_nfa.py
eliotwrobson 954b57e
Commented out GNFA test to get coverage report
eliotwrobson 2322f24
lint
eliotwrobson 89656e2
Updated GNFA test cases
eliotwrobson a1cd413
Fix orientation
eliotwrobson 15fad78
Update gnfa.py
eliotwrobson e0bbea0
Layout typing
eliotwrobson f8ed207
Rename variable
eliotwrobson 103420d
Repr fixes and better state addition
eliotwrobson e3c0563
Fixed failing test
eliotwrobson 45cc69a
Reverted repr friendly value change
eliotwrobson 2cd52c2
Restore missing type annotation to _get_repr_friendly_value()
caleb531 0fdf3d0
Restore type annotation to __repr__
caleb531 b0ce2ad
changed config
eliotwrobson 22317ac
Update pyproject.toml
eliotwrobson 7cb48f5
Added test for edge coloring
eliotwrobson 6f1ec9f
nfa diagram tests
eliotwrobson a8d8433
Replace @functools.cache with @functools.lru_cache
caleb531 10706a6
Rewrote broken algorithm and added test cases
eliotwrobson 13aaf95
lint
eliotwrobson e7de250
Added epsilon loop test case
eliotwrobson 9085f24
Made test case more interesting
eliotwrobson 5db4922
Added some test cases
eliotwrobson e51692b
Lint and some silly tests
eliotwrobson 95ede78
Update test_fa.py
eliotwrobson 668e071
More test cases
eliotwrobson 6c01021
Add orientation test
eliotwrobson a6fd789
Added more complex test cases
eliotwrobson 201f5c6
Added optimality test
eliotwrobson 7da1013
Added figure size tests
eliotwrobson fddf5e8
lint
eliotwrobson 73cd3dc
Add missing PDA test
eliotwrobson 993536b
Remove todos
eliotwrobson 1bf1d74
Correct typo in NFA._get_input_path() docstring
caleb531 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.