neo4jd3-graph
Version:
The neo4jd3-graph npm package is a tool designed for visualizing Neo4j graph data. This package utilizes the power of D3.js (version 4.2.1) for rendering interactive and dynamic graphs representing relationships within Neo4j databases. The visualization i
673 lines (672 loc) • 17.4 kB
TypeScript
export declare const colors: string[];
export declare const fontAwesomeIcons: {
glass: string;
music: string;
search: string;
'envelope-o': string;
heart: string;
star: string;
'star-o': string;
user: string;
film: string;
'th-large': string;
th: string;
'th-list': string;
check: string;
'remove,close,times': string;
'search-plus': string;
'search-minus': string;
'power-off': string;
signal: string;
'gear,cog': string;
'trash-o': string;
home: string;
'file-o': string;
'clock-o': string;
road: string;
download: string;
'arrow-circle-o-down': string;
'arrow-circle-o-up': string;
inbox: string;
'play-circle-o': string;
'rotate-right,repeat': string;
refresh: string;
'list-alt': string;
lock: string;
flag: string;
headphones: string;
'volume-off': string;
'volume-down': string;
'volume-up': string;
qrcode: string;
barcode: string;
tag: string;
tags: string;
book: string;
bookmark: string;
print: string;
camera: string;
font: string;
bold: string;
italic: string;
'text-height': string;
'text-width': string;
'align-left': string;
'align-center': string;
'align-right': string;
'align-justify': string;
list: string;
'dedent,outdent': string;
indent: string;
'video-camera': string;
'photo,image,picture-o': string;
pencil: string;
'map-marker': string;
adjust: string;
tint: string;
'edit,pencil-square-o': string;
'share-square-o': string;
'check-square-o': string;
arrows: string;
'step-backward': string;
'fast-backward': string;
backward: string;
play: string;
pause: string;
stop: string;
forward: string;
'fast-forward': string;
'step-forward': string;
eject: string;
'chevron-left': string;
'chevron-right': string;
'plus-circle': string;
'minus-circle': string;
'times-circle': string;
'check-circle': string;
'question-circle': string;
'info-circle': string;
crosshairs: string;
'times-circle-o': string;
'check-circle-o': string;
ban: string;
'arrow-left': string;
'arrow-right': string;
'arrow-up': string;
'arrow-down': string;
'mail-forward,share': string;
expand: string;
compress: string;
plus: string;
minus: string;
asterisk: string;
'exclamation-circle': string;
gift: string;
leaf: string;
fire: string;
eye: string;
'eye-slash': string;
'warning,exclamation-triangle': string;
plane: string;
calendar: string;
random: string;
comment: string;
magnet: string;
'chevron-up': string;
'chevron-down': string;
retweet: string;
'shopping-cart': string;
folder: string;
'folder-open': string;
'arrows-v': string;
'arrows-h': string;
'bar-chart-o,bar-chart': string;
'twitter-square': string;
'facebook-square': string;
'camera-retro': string;
key: string;
'gears,cogs': string;
comments: string;
'thumbs-o-up': string;
'thumbs-o-down': string;
'star-half': string;
'heart-o': string;
'sign-out': string;
'linkedin-square': string;
'thumb-tack': string;
'external-link': string;
'sign-in': string;
trophy: string;
'github-square': string;
upload: string;
'lemon-o': string;
phone: string;
'square-o': string;
'bookmark-o': string;
'phone-square': string;
twitter: string;
'facebook-f,facebook': string;
github: string;
unlock: string;
'credit-card': string;
'feed,rss': string;
'hdd-o': string;
bullhorn: string;
bell: string;
certificate: string;
'hand-o-right': string;
'hand-o-left': string;
'hand-o-up': string;
'hand-o-down': string;
'arrow-circle-left': string;
'arrow-circle-right': string;
'arrow-circle-up': string;
'arrow-circle-down': string;
globe: string;
wrench: string;
tasks: string;
filter: string;
briefcase: string;
'arrows-alt': string;
'group,users': string;
'chain,link': string;
cloud: string;
flask: string;
'cut,scissors': string;
'copy,files-o': string;
paperclip: string;
'save,floppy-o': string;
square: string;
'navicon,reorder,bars': string;
'list-ul': string;
'list-ol': string;
strikethrough: string;
underline: string;
table: string;
magic: string;
truck: string;
pinterest: string;
'pinterest-square': string;
'google-plus-square': string;
'google-plus': string;
money: string;
'caret-down': string;
'caret-up': string;
'caret-left': string;
'caret-right': string;
columns: string;
'unsorted,sort': string;
'sort-down,sort-desc': string;
'sort-up,sort-asc': string;
envelope: string;
linkedin: string;
'rotate-left,undo': string;
'legal,gavel': string;
'dashboard,tachometer': string;
'comment-o': string;
'comments-o': string;
'flash,bolt': string;
sitemap: string;
umbrella: string;
'paste,clipboard': string;
'lightbulb-o': string;
exchange: string;
'cloud-download': string;
'cloud-upload': string;
'user-md': string;
stethoscope: string;
suitcase: string;
'bell-o': string;
coffee: string;
cutlery: string;
'file-text-o': string;
'building-o': string;
'hospital-o': string;
ambulance: string;
medkit: string;
'fighter-jet': string;
beer: string;
'h-square': string;
'plus-square': string;
'angle-double-left': string;
'angle-double-right': string;
'angle-double-up': string;
'angle-double-down': string;
'angle-left': string;
'angle-right': string;
'angle-up': string;
'angle-down': string;
desktop: string;
laptop: string;
tablet: string;
'mobile-phone,mobile': string;
'circle-o': string;
'quote-left': string;
'quote-right': string;
spinner: string;
circle: string;
'mail-reply,reply': string;
'github-alt': string;
'folder-o': string;
'folder-open-o': string;
'smile-o': string;
'frown-o': string;
'meh-o': string;
gamepad: string;
'keyboard-o': string;
'flag-o': string;
'flag-checkered': string;
terminal: string;
code: string;
'mail-reply-all,reply-all': string;
'star-half-empty,star-half-full,star-half-o': string;
'location-arrow': string;
crop: string;
'code-fork': string;
'unlink,chain-broken': string;
question: string;
info: string;
exclamation: string;
superscript: string;
subscript: string;
eraser: string;
'puzzle-piece': string;
microphone: string;
'microphone-slash': string;
shield: string;
'calendar-o': string;
'fire-extinguisher': string;
rocket: string;
maxcdn: string;
'chevron-circle-left': string;
'chevron-circle-right': string;
'chevron-circle-up': string;
'chevron-circle-down': string;
html5: string;
css3: string;
anchor: string;
'unlock-alt': string;
bullseye: string;
'ellipsis-h': string;
'ellipsis-v': string;
'rss-square': string;
'play-circle': string;
ticket: string;
'minus-square': string;
'minus-square-o': string;
'level-up': string;
'level-down': string;
'check-square': string;
'pencil-square': string;
'external-link-square': string;
'share-square': string;
compass: string;
'toggle-down,caret-square-o-down': string;
'toggle-up,caret-square-o-up': string;
'toggle-right,caret-square-o-right': string;
'euro,eur': string;
gbp: string;
'dollar,usd': string;
'rupee,inr': string;
'cny,rmb,yen,jpy': string;
'ruble,rouble,rub': string;
'won,krw': string;
'bitcoin,btc': string;
file: string;
'file-text': string;
'sort-alpha-asc': string;
'sort-alpha-desc': string;
'sort-amount-asc': string;
'sort-amount-desc': string;
'sort-numeric-asc': string;
'sort-numeric-desc': string;
'thumbs-up': string;
'thumbs-down': string;
'youtube-square': string;
youtube: string;
xing: string;
'xing-square': string;
'youtube-play': string;
dropbox: string;
'stack-overflow': string;
instagram: string;
flickr: string;
adn: string;
bitbucket: string;
'bitbucket-square': string;
tumblr: string;
'tumblr-square': string;
'long-arrow-down': string;
'long-arrow-up': string;
'long-arrow-left': string;
'long-arrow-right': string;
apple: string;
windows: string;
android: string;
linux: string;
dribbble: string;
skype: string;
foursquare: string;
trello: string;
female: string;
male: string;
'gittip,gratipay': string;
'sun-o': string;
'moon-o': string;
archive: string;
bug: string;
vk: string;
weibo: string;
renren: string;
pagelines: string;
'stack-exchange': string;
'arrow-circle-o-right': string;
'arrow-circle-o-left': string;
'toggle-left,caret-square-o-left': string;
'dot-circle-o': string;
wheelchair: string;
'vimeo-square': string;
'turkish-lira,try': string;
'plus-square-o': string;
'space-shuttle': string;
slack: string;
'envelope-square': string;
wordpress: string;
openid: string;
'institution,bank,university': string;
'mortar-board,graduation-cap': string;
yahoo: string;
google: string;
reddit: string;
'reddit-square': string;
'stumbleupon-circle': string;
stumbleupon: string;
delicious: string;
digg: string;
'pied-piper-pp': string;
'pied-piper-alt': string;
drupal: string;
joomla: string;
language: string;
fax: string;
building: string;
child: string;
paw: string;
spoon: string;
cube: string;
cubes: string;
behance: string;
'behance-square': string;
steam: string;
'steam-square': string;
recycle: string;
'automobile,car': string;
'cab,taxi': string;
tree: string;
spotify: string;
deviantart: string;
soundcloud: string;
database: string;
'file-pdf-o': string;
'file-word-o': string;
'file-excel-o': string;
'file-powerpoint-o': string;
'file-photo-o,file-picture-o,file-image-o': string;
'file-zip-o,file-archive-o': string;
'file-sound-o,file-audio-o': string;
'file-movie-o,file-video-o': string;
'file-code-o': string;
vine: string;
codepen: string;
jsfiddle: string;
'life-bouy,life-buoy,life-saver,support,life-ring': string;
'circle-o-notch': string;
'ra,resistance,rebel': string;
'ge,empire': string;
'git-square': string;
git: string;
'y-combinator-square,yc-square,hacker-news': string;
'tencent-weibo': string;
qq: string;
'wechat,weixin': string;
'send,paper-plane': string;
'send-o,paper-plane-o': string;
history: string;
'circle-thin': string;
header: string;
paragraph: string;
sliders: string;
'share-alt': string;
'share-alt-square': string;
bomb: string;
'soccer-ball-o,futbol-o': string;
tty: string;
binoculars: string;
plug: string;
slideshare: string;
twitch: string;
yelp: string;
'newspaper-o': string;
wifi: string;
calculator: string;
paypal: string;
'google-wallet': string;
'cc-visa': string;
'cc-mastercard': string;
'cc-discover': string;
'cc-amex': string;
'cc-paypal': string;
'cc-stripe': string;
'bell-slash': string;
'bell-slash-o': string;
trash: string;
copyright: string;
at: string;
eyedropper: string;
'paint-brush': string;
'birthday-cake': string;
'area-chart': string;
'pie-chart': string;
'line-chart': string;
lastfm: string;
'lastfm-square': string;
'toggle-off': string;
'toggle-on': string;
bicycle: string;
bus: string;
ioxhost: string;
angellist: string;
cc: string;
'shekel,sheqel,ils': string;
meanpath: string;
buysellads: string;
connectdevelop: string;
dashcube: string;
forumbee: string;
leanpub: string;
sellsy: string;
shirtsinbulk: string;
simplybuilt: string;
skyatlas: string;
'cart-plus': string;
'cart-arrow-down': string;
diamond: string;
ship: string;
'user-secret': string;
motorcycle: string;
'street-view': string;
heartbeat: string;
venus: string;
mars: string;
mercury: string;
'intersex,transgender': string;
'transgender-alt': string;
'venus-double': string;
'mars-double': string;
'venus-mars': string;
'mars-stroke': string;
'mars-stroke-v': string;
'mars-stroke-h': string;
neuter: string;
genderless: string;
'facebook-official': string;
'pinterest-p': string;
whatsapp: string;
server: string;
'user-plus': string;
'user-times': string;
'hotel,bed': string;
viacoin: string;
train: string;
subway: string;
medium: string;
'yc,y-combinator': string;
'optin-monster': string;
opencart: string;
expeditedssl: string;
'battery-4,battery-full': string;
'battery-3,battery-three-quarters': string;
'battery-2,battery-half': string;
'battery-1,battery-quarter': string;
'battery-0,battery-empty': string;
'mouse-pointer': string;
'i-cursor': string;
'object-group': string;
'object-ungroup': string;
'sticky-note': string;
'sticky-note-o': string;
'cc-jcb': string;
'cc-diners-club': string;
clone: string;
'balance-scale': string;
'hourglass-o': string;
'hourglass-1,hourglass-start': string;
'hourglass-2,hourglass-half': string;
'hourglass-3,hourglass-end': string;
hourglass: string;
'hand-grab-o,hand-rock-o': string;
'hand-stop-o,hand-paper-o': string;
'hand-scissors-o': string;
'hand-lizard-o': string;
'hand-spock-o': string;
'hand-pointer-o': string;
'hand-peace-o': string;
trademark: string;
registered: string;
'creative-commons': string;
gg: string;
'gg-circle': string;
tripadvisor: string;
odnoklassniki: string;
'odnoklassniki-square': string;
'get-pocket': string;
'wikipedia-w': string;
safari: string;
chrome: string;
firefox: string;
opera: string;
'internet-explorer': string;
'tv,television': string;
contao: string;
'500px': string;
amazon: string;
'calendar-plus-o': string;
'calendar-minus-o': string;
'calendar-times-o': string;
'calendar-check-o': string;
industry: string;
'map-pin': string;
'map-signs': string;
'map-o': string;
map: string;
commenting: string;
'commenting-o': string;
houzz: string;
vimeo: string;
'black-tie': string;
fonticons: string;
'reddit-alien': string;
edge: string;
'credit-card-alt': string;
codiepie: string;
modx: string;
'fort-awesome': string;
usb: string;
'product-hunt': string;
mixcloud: string;
scribd: string;
'pause-circle': string;
'pause-circle-o': string;
'stop-circle': string;
'stop-circle-o': string;
'shopping-bag': string;
'shopping-basket': string;
hashtag: string;
bluetooth: string;
'bluetooth-b': string;
percent: string;
gitlab: string;
wpbeginner: string;
wpforms: string;
envira: string;
'universal-access': string;
'wheelchair-alt': string;
'question-circle-o': string;
blind: string;
'audio-description': string;
'volume-control-phone': string;
braille: string;
'assistive-listening-systems': string;
'asl-interpreting,american-sign-language-interpreting': string;
'deafness,hard-of-hearing,deaf': string;
glide: string;
'glide-g': string;
'signing,sign-language': string;
'low-vision': string;
viadeo: string;
'viadeo-square': string;
snapchat: string;
'snapchat-ghost': string;
'snapchat-square': string;
'pied-piper': string;
'first-order': string;
yoast: string;
themeisle: string;
'google-plus-circle,google-plus-official': string;
'fa,font-awesome': string;
};
export interface CreateGraphInterface {
parentElement: string | Node;
options: Neo4jD3Options;
}
export interface Neo4jD3Options {
arrowSize?: number;
colors?: string[];
highlight?: any;
iconMap?: IconMap;
icons?: any;
imageMap?: {};
images?: any;
infoPanel?: boolean;
minCollision?: number;
neo4jData?: any;
neo4jDataUrl?: string;
nodeOutlineFillColor?: string;
nodeRadius?: number;
relationshipColor?: string;
zoomFit?: boolean;
onNodeClick?: (d: any) => void;
onNodeDoubleClick?: (d: any) => void;
onNodeMouseEnter?: (d: any) => void;
onNodeMouseLeave?: (d: any) => void;
onRelationshipMouseEnter?: (d: any) => void;
onRelationshipMouseLeave?: (d: any) => void;
onNodeDragEnd?: (d: any) => void;
onNodeDragStart?: (d: any) => void;
onRelationshipDoubleClick?: (d: any) => void;
showIcons?: boolean;
}
interface IconMap {
[key: string]: string;
}
export {};