set line stroke and color
minor changes
fixed dependency line adujstment