 
 
     if @doDrawProjects()
-      svgProjectEdges = userInfos.map( (userInfo) =>
+      svgProjectEdges = selectedUserInfos.map( (userInfo) =>
         { user, projects } = userInfo
         projects.map( (project) => @edge(user.name, project.name)) if @doDrawUser(user)
       ).join(";")

        color = @colorJet(128 - (workingHours - minMaxHours.min) * (128 / minMaxHours.max - minMaxHours.min) + 128)

        @quoted(userName) + " [id="+ @quoted(user.id) + ", shape=box, fillcolor=" + @quoted(color) + "]"
    ).join(";")

    svgTaskTypes = ""
    svgProjects = ""


  buildNodes : (taskTypes, projects) ->

    svgUsers = _.compact(@users.map( (user) =>
      if @doDrawUser(user)
        userName = user.firstName + " " + user.lastName
        workingHours = user.workingHours
