Skip to content

Commit 72d1872

Browse files
committed
Add: Mark visited nodes
1 parent 438aaf1 commit 72d1872

File tree

3 files changed

+10
-18
lines changed

3 files changed

+10
-18
lines changed

Diff for: 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. /!\

Diff for: 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());

Diff for: nbactions.xml

-15
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,4 @@
2626
<goal>package</goal>
2727
</goals>
2828
</action>
29-
<action>
30-
<actionName>CUSTOM-org.gephi:gephi-maven-plugin:run</actionName>
31-
<displayName>org.gephi:gephi-maven-plugin:run</displayName>
32-
<goals>
33-
<goal>org.gephi:gephi-maven-plugin:run</goal>
34-
</goals>
35-
</action>
36-
<action>
37-
<actionName>CUSTOM-package org.gephi:gephi-maven-plugin:run</actionName>
38-
<displayName>package org.gephi:gephi-maven-plugin:run</displayName>
39-
<goals>
40-
<goal>package</goal>
41-
<goal>org.gephi:gephi-maven-plugin:run</goal>
42-
</goals>
43-
</action>
4429
</actions>

0 commit comments

Comments
 (0)