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

Make a network graph of intrigue actors. #59

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

therahedwig
Copy link
Contributor

@therahedwig therahedwig commented Mar 13, 2020

This works, but it could use a lot of graphical improvements, as well as more thinking about what to include (right now underworld contacts are in there...), as well as dealing with issues like intrigue actors that are dead and thus have no role anymore, but used to be a handler in the past, so were obviously an asset.

Some images:

image

image

Thoughts and mockups are welcome.

TODO:

  • Make prettier - unique coloring for the different roles? Or just adding the roles inside the square? DF uses both color and role in its own graphs: https://dwarffortresswiki.org/index.php/DF2014:Intrigue
  • figure out how to deal with masters that are dead. Should these have seperate networks? (sometimes DF will mark these still as 'master', sometimes DF will set them to 'no role', it's kinda annoying)
  • Figure out how to deal with other dead members. They all have 'no role'
  • handlers are missing and should be inserted into the graph.
  • need to figure out which subcontacts to add and where. DF itself lists asset, master, corrupt gov official, assassin, snatcher, saboteur and framer into it's networks, but I suspect not all of them have their sub-contacts listed inside these networks.
  • figure out what to do with the rebuffed, enemy and other such actors.
  • maybe change int to an enum for readability? Is this possible with the vm templates?

This works, but it could use a lot of graphical improvements.
…ains.

All polylines now have a title with the type of link, villains get their role
added as subtitle, and a nice little color border for the type of role.

Untested with light mode...
@therahedwig
Copy link
Contributor Author

Current state:

image

image

There's still a big issue where multiple members can see someone as an asset or threat, and that means they show up multiple times, but the thing isn't able handle it depite me trying to avoid adding dupplicates..., and I am not sure what to do here yet.

@robertjanetzko
Copy link
Owner

robertjanetzko commented Mar 15, 2020

  • maybe change int to an enum for readability? Is this possible with the vm templates?

they should map to strings

There's still a big issue where multiple members can see someone as an asset or threat

I think thats similar to the issue with the family tree and multiple spouses (and children with them)

I think there is no need for gender colors in this tree and you can use the your border color as fill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants