import { Id , PortData , PortGraphicalAttributes , Port , PortAction , PortActionAdd , } from '../customTypings/index.d' ; param { string } nodeId param { string } id param { Object } attributes export function addPort ( nodeId , id , { data , graphicalAttributes , } ) { return { type : 'FLOWDESIGNER_PORT_ADD' , nodeId , id , data , graphicalAttributes , } ; } deprecated export function addPorts ( nodeId , ports ) { return { type : 'FLOWDESIGNER_PORT_ADDS' , nodeId , ports , } ; } deprecated param { string } portId param { Object } graphicalAttributes export function setPortGraphicalAttribute ( portId , graphicalAttributes ) { return { type : 'FLOWDESIGNER_PORT_SET_GRAPHICAL_ATTRIBUTES' , portId , graphicalAttributes , } ; } deprecated param { string } portId param { string } graphicalAttributesKey export function removePortGraphicalAttribute ( portId , graphicalAttributesKey ) { return { type : 'FLOWDESIGNER_PORT_REMOVE_GRAPHICAL_ATTRIBUTES' , portId , graphicalAttributesKey , } ; } deprecated param { string } portId param { Object } graphicalAttributes export function setPortdata ( portId , data ) { return { type : 'FLOWDESIGNER_PORT_SET_DATA' , portId , data , } ; } deprecated param { string } portId param { string } datasKey export function removePortData ( portId , dataKey ) { return { type : 'FLOWDESIGNER_PORT_REMOVE_DATA' , portId , dataKey , } ; } deprecated param { string } portId export function removePort ( portId ) { return { type : 'FLOWDESIGNER_PORT_REMOVE' , portId , } ; }