import {GraphNode, GraphNodeProperties,Graph} from '../../core/Graph' export type HTMLNodeProperties = GraphNodeProperties & { __props?:HTMLElement, __onresize?:(elm:HTMLElement) => void, __onremove?:(elm:HTMLElement) => void, __onrender?:(elm:HTMLElement) => void, tagName?:string, //can provide this instead of an element or html template string parentNode?:string|HTMLElement, //can define a specific parentNode, else a parent graph node with an HTMLElement as __props will be selected, else graph.parentNode if defined, else document.body style?:Partial, //supply an object with style properties for this element's inline styles //applies to custom webcomponent only (wchtmlloader): __template?:string|((...args:any[]) => string), __renderonchanged?:(elm:HTMLElement) => void, useShadow?:boolean, __css?:string, //stylesheet template string for use with web components (just prepends a