{"id":"frontend.yui--DrawYuiGraphCard","name":"DrawYuiGraphCard","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external DrawYuiGraphCard(int x,int y,int width,int height,int radius,bool selected)","description":"Draw yui graph card.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"x","type":"int","description":"Supply x as int."},{"name":"y","type":"int","description":"Supply y as int."},{"name":"width","type":"int","description":"Supply width as int."},{"name":"height","type":"int","description":"Supply height as int."},{"name":"radius","type":"int","description":"Supply radius as int."},{"name":"selected","type":"bool","description":"Supply selected as bool."}],"returns":"void","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/render-graph-controls.yh","line":25,"sha256":"97b452a646e806263675f2ea66a0d3f56c10f6fe64ebe465dc726aae1090f844"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use DrawYuiGraphCard","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nint x = 1\nint y = 1\nint width = 1\nint height = 1\nint radius = 1\nbool selected = true\nDrawYuiGraphCard(x, y, width, height, radius, selected)\nConsole.Log(\"DrawYuiGraphCard completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__drawyuigraphcard\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"cbac9730cb16a7ead7fa314e715d5cae57d5b8f4dd2b9dcff810ef52a88daf7b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--DrawYuiGraphCard","json":"https://demonhunterlabs.com/reference/items/frontend.yui--DrawYuiGraphCard.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--DrawYuiGraphCard.md"}
