Skip to content

Commit

Permalink
Add: Mark visited nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
totetmatt committed Sep 9, 2023
1 parent 438aaf1 commit 4b38dc2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions modules/BlueskyGephi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Keep in mind current atproto access point from bluesky is quite permissive and m
You can fetch network from user from multiple way :
- Put one or multiple (separated by line return) handles or dids inside the plugin textarea and click on "Go!"
- You can right click on a node and select contextual menu item related to the plugin
- *Bluesky Fetch default data* , will fetch network based on the current configuration on the plugin panel
- *Fetch followers only data*, will fetch only the followers of the node
- *Fetch follows only data*, will fetch only the follows of the node
- **Bluesky Fetch default data** , will fetch network based on the current configuration on the plugin panel
- **Fetch followers only data**, will fetch only the followers of the node
- **Fetch follows only data**, will fetch only the follows of the node

## Deep Search
By activating **Fetch also n+1**, the plugin will fetch the selected handles network **and also** the network of the handles found.

/!\ Keep in mind that this can be very long as some users has a long list of followers or follows. /!\
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private void process(String actor, boolean isDeepSearch) {
for (var response : responses) {
Identity subject = response.getSubject();
Node source = createNode(subject);
source.setColor(Color.GREEN);
for (var follow : response.getFollows()) {
if (isDeepSearch) {
foaf.add(follow.getDid());
Expand All @@ -166,6 +167,7 @@ private void process(String actor, boolean isDeepSearch) {
for (var response : responses) {
Identity subject = response.getSubject();
Node target = createNode(subject);
target.setColor(Color.GREEN);
for (var follower : response.getFollowers()) {
if (isDeepSearch) {
foaf.add(follower.getDid());
Expand Down

0 comments on commit 4b38dc2

Please sign in to comment.