Skip to content
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

Export to graphml #101

Merged
merged 4 commits into from
Dec 16, 2023
Merged

Export to graphml #101

merged 4 commits into from
Dec 16, 2023

Conversation

prabhu
Copy link
Contributor

@prabhu prabhu commented Dec 13, 2023

cc: @anonymitycoder2

git clone https://github.com/AppThreat/atom
cd atom
git checkout feature/export
sbt stage

./atom.sh -l java -o app.atom --export-atom --export-dir <export directory> <path>

# dot format
./atom.sh -l java -o app.atom --export-atom --export-format dot --export-dir <export directory> <path>

# With data flows
./atom.sh -l java -o app.atom --export-atom --export-dir <export directory> --with-data-deps <path>

The files are named using shortname-hash.graphml convention. Let me know if you require any changes.

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu added the enhancement New feature or request label Dec 13, 2023
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Copy link
Member

@cerrussell cerrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to export and view the outputted gml files in yEd. Very cool!

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu
Copy link
Contributor Author

prabhu commented Dec 15, 2023

@cerrussell could you test the new dot format as well with --export-format dot. Also data flows are not included by default so it is possible to visualize both the simple and complex structures.

@prabhu prabhu merged commit f5e45d5 into main Dec 16, 2023
24 checks passed
@prabhu prabhu deleted the feature/export branch December 16, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants