PM-Master/PMAdminTool

Highlight Path Feature

dyiop opened this issue · 1 comments

dyiop commented
  • click on an object/OA highlights all paths to a policy class (can run a depth first search starting from the object)

  • similarly, if you click on a user it should highlight all paths to "border attributes"

    • "border attributes" refer to the attributes a user reaches through associations
      • i.e. if "u1" is assigned to "ua1" and "ua1" is associated with "oa1", "oa1" would be a border attribute
    • the goal of this would be to easily know all the attributes a user is associated with
  • cytoscape has a* built in (link)

    • cy.elements().aStar({ root: "#super_pc", goal: "#bob" }).path.select();
dyiop commented
  • Added function in js to highlight path from selected node to all PC's
  • Made a caller from java side and put it in the context menu
  • Cleaned up a few files

Still Todo:

  • skip (or not - add another input) associations in path finding. maybe use core libraries search functionality
  • highlight all paths back to each PC. this is needed to see which attributes a node is contained within