{
BasicNodeComponentUI n = (BasicNodeComponentUI) nUI;
for (Role r : p.getPlaysRoleLnkVector()) //for all roles of actual protein
{
Event event = r.getEventLnk(); //to which event belong the role
if (event.getPathwayLnkVector() != null)
{
for (Pathway pathway : event.getPathwayLnkVector()) //test if event is in actual pathway
{
if (mapToDraw.containsKey(pathway))
{
mapToDrawETemp.put(pathway, n);
}