Skip to content

Commit 4b38dc2

Browse files
committed
Add: Mark visited nodes
1 parent 438aaf1 commit 4b38dc2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

modules/BlueskyGephi/README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Keep in mind current atproto access point from bluesky is quite permissive and m
1919
You can fetch network from user from multiple way :
2020
- Put one or multiple (separated by line return) handles or dids inside the plugin textarea and click on "Go!"
2121
- You can right click on a node and select contextual menu item related to the plugin
22-
- *Bluesky Fetch default data* , will fetch network based on the current configuration on the plugin panel
23-
- *Fetch followers only data*, will fetch only the followers of the node
24-
- *Fetch follows only data*, will fetch only the follows of the node
22+
- **Bluesky Fetch default data** , will fetch network based on the current configuration on the plugin panel
23+
- **Fetch followers only data**, will fetch only the followers of the node
24+
- **Fetch follows only data**, will fetch only the follows of the node
25+
26+
## Deep Search
27+
By activating **Fetch also n+1**, the plugin will fetch the selected handles network **and also** the network of the handles found.
28+
29+
/!\ Keep in mind that this can be very long as some users has a long list of followers or follows. /!\

modules/BlueskyGephi/src/main/java/fr/totetmatt/blueskygephi/BlueskyGephi.java

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ private void process(String actor, boolean isDeepSearch) {
147147
for (var response : responses) {
148148
Identity subject = response.getSubject();
149149
Node source = createNode(subject);
150+
source.setColor(Color.GREEN);
150151
for (var follow : response.getFollows()) {
151152
if (isDeepSearch) {
152153
foaf.add(follow.getDid());
@@ -166,6 +167,7 @@ private void process(String actor, boolean isDeepSearch) {
166167
for (var response : responses) {
167168
Identity subject = response.getSubject();
168169
Node target = createNode(subject);
170+
target.setColor(Color.GREEN);
169171
for (var follower : response.getFollowers()) {
170172
if (isDeepSearch) {
171173
foaf.add(follower.getDid());

0 commit comments

Comments
 (0)