Çöó½ºÅ© - Graphiti. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Amirouche Boubekki
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://bitbucket.org/abki/
Çöó½ºÅ© - Graphiti. ű×
Çöó½ºÅ© - Graphiti. ¼³¸í
Flask-Graphiti´Â Graphiti ¶óÀ̺귯¸®¸¦ Flask.InstallationCli ¿¬½ÀÀ¸·Î ÅëÇÕÇÏ´Â Çöó½ºÅ© È®ÀåÀÔ´Ï´Ù. PIP ¼³Ä¡ Çöó½ºÅ© - GraphitIIN ÇÁ·ÎÁ§Æ® ¼³Á¤Àº Graffiti_Databases ¼³Á¤ »çÀüÀ» Á¦°øÇÕ´Ï´Ù. ¿¹¸¦ µé¾î µ¥ÀÌÅͺ£À̽º°¡ Rexster 'Matrix'¿¡¼ À̸§ ºÙ¿© ÀÖ°í Neo4J¸¦ »ç¿ëÇÏ°í ±âº» Æ÷Æ® ¼³Á¤À» À¯ÁöÇÏ¸é ´ÙÀ½À» »ç¿ëÇؾßÇÕ´Ï´Ù. graffiti_databases = { 'matrix : {'URL ':'http : // localhost : 8182 / ',' DB ':'Neo4j ',}} Usageto Declare Models.py¿¡¼ Flask_Graphiti ¸ðµâÀ» ¸ÕÀú °¡Á®¿Í¾ßÇÕ´Ï´Ù. FLASK_GRAPHITI Import Graphiti.Properties °¡Á® ¿À±â (String, Boolean, Integer) ) Ŭ·¡½º Person (graph.matrix.node) : name = string () age = integer () is_a_program = boolean () Ŭ·¡½º (graph.matrix.edge) : Passtere´Â APIÀÇ Ãø¸é¿¡¼ Django Graphiti ¸ðµ¨¿¡ ƯÀ¯ÀÇ °ÍÀÌ ¾ø½À´Ï´Ù. Graphiti Documentation.ProductÀÇ È¨ÆäÀÌÁö¸¦ ÂüÁ¶ÇϽʽÿÀ
Çöó½ºÅ© - Graphiti. °ü·Ã ¼ÒÇÁÆ®¿þ¾î