gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
269 stars 622 forks source link

Update version #288

Closed totetmatt closed 1 year ago

totetmatt commented 1 year ago

New plugin or plugin update?

What is the purpose of this plugin?

Suppose to link gephi instance via HTTP network,. But can be used as streaming like importer for graph modification

How to test your plugin in Gephi?

  1. Open Gephi
  2. Start Master Server on the plugin, (check config that it starts a port not already used)
  3. Type curl command (on the url, workspace1should be same name as the current workspace)
    
    curl -d "{\"an\":{\"A\":{\"label\":\"Streaming Node A\"}}}" "http://127.0.0.1:9876/workspace1?operation=updateGraph"
    {"an":{"A":{"label":"Streaming Node A"}}}

curl -d "{\"an\":{\"B\":{\"label\":\"Streaming Node B\"}}}" "http://127.0.0.1:9876/workspace1?operation=updateGraph" {"an":{"B":{"label":"Streaming Node B"}}}

curl -d "{\"ae\":{\"A--B\":{\"source\":\"A\",\"target\":\"B\",\"label\":\"Streaming Node B\"}}}" "http://127.0.0.1:9876/workspace1?operation=updateGraph" {"ae":{"A--B":{"directed":true,"source":"A","label":"Streaming Node B","target":"B"}}}


4. Now there should be  2 nodes and 1 edge.
## Checklist before submission

* [X] Did you merged with the `master` branch to get the latest updates?
* [X] Did you build and test the plugin successfully locally?
* [X] Did you include metadata (e.g. plugin author, license) in the `pom.xml` file
* [X] Did you make sure NOT to include any unecessary files in your PR?
* [] Did you write unit tests to test your plugin functionalities?