yangxiaohui

yangxiaohui pushed to how_1128_v2 at yangxiaohui/how

  • fdc86fab6b feat: 优化布局变化时的渲染和过渡效果 - GraphView: 中心节点通过fx/fy固定在容器中心 - GraphView: 布局变化时内容淡入淡出,使用transitionend事件 - TreeView: 滚动条默认居中,布局变化后恢复滚动位置 - PostTreeView: 滚动条默认居中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • df6e228346 feat: 帖子树垂直布局 + 面板放大功能 - 帖子树改为从上到下垂直展示 - 各面板添加放大/恢复按钮 - 支持动态布局切换:人设树、相关图、帖子树可分别放大 - 放大时其他面板收起 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 02c7239518 feat: 优化帖子匹配Tab布局 - 左侧上下布局:人设树 + 相关图 - 相关图未激活时收起到底部,只显示标题栏 - 激活后展开显示相关图 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 8fceb1e4f1 feat: 添加帖子树可视化和Tab切换功能 - 新增帖子匹配Tab,支持同时展示人设树、相关图、帖子树 - 新增PostTreeView组件展示帖子图谱树结构 - 支持下拉选择不同帖子查看 - 修改build.py支持内联帖子图谱数据 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • b2d36317cc docs: 添加项目说明文件 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

18 hours ago

yangxiaohui created new branch how_1128_v2 at yangxiaohui/how

18 hours ago

yangxiaohui pushed to how_1128_v1 at yangxiaohui/how

  • dbfbedca02 feat: 添加帖子树构建步骤,优化tab显示为日期+标题降序 - run_graph_pipeline.sh: 添加 build_post_tree.py 作为步骤9 - visualize_match_graph.py: tab标题改为"日期+标题"格式,按发布日期降序排列 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 6870fb9632 fix: 暴露highlightEdge和showEdgeInfo到全局 - 在renderGraph中添加window.highlightEdge和window.showEdgeInfo - highlightMatchEdge使用window版本调用 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 6b2cab6b56 fix: 修复匹配列表点击无法访问links变量 - 将links保存到window.currentLinks - highlightMatchEdge使用window.currentLinks访问边数据 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • a31146bfcf feat: 右边匹配列表点击复用左边边的点击效果 - highlightMatchEdge函数现在调用highlightEdge复用完整逻辑 - 包括边高亮、节点高亮、右边树联动、人设树联动 - 显示边详情面板 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • dfb9c33b44 fix: 修正fitToView使用getBBox获取完整内容边界 - 使用g.node().getBBox()获取所有子元素的实际边界 - 包含三个圆和右边帖子树的完整范围 - 增加延迟到300ms确保DOM完成 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

3 days ago

yangxiaohui created new branch how_1128_v1 at yangxiaohui/how

3 days ago

yangxiaohui pushed to how_1127_v1 at yangxiaohui/how

  • dbfbedca02 feat: 添加帖子树构建步骤,优化tab显示为日期+标题降序 - run_graph_pipeline.sh: 添加 build_post_tree.py 作为步骤9 - visualize_match_graph.py: tab标题改为"日期+标题"格式,按发布日期降序排列 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

3 days ago

yangxiaohui pushed to how_1127_v1 at yangxiaohui/how

  • 6870fb9632 fix: 暴露highlightEdge和showEdgeInfo到全局 - 在renderGraph中添加window.highlightEdge和window.showEdgeInfo - highlightMatchEdge使用window版本调用 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 6b2cab6b56 fix: 修复匹配列表点击无法访问links变量 - 将links保存到window.currentLinks - highlightMatchEdge使用window.currentLinks访问边数据 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • a31146bfcf feat: 右边匹配列表点击复用左边边的点击效果 - highlightMatchEdge函数现在调用highlightEdge复用完整逻辑 - 包括边高亮、节点高亮、右边树联动、人设树联动 - 显示边详情面板 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • dfb9c33b44 fix: 修正fitToView使用getBBox获取完整内容边界 - 使用g.node().getBBox()获取所有子元素的实际边界 - 包含三个圆和右边帖子树的完整范围 - 增加延迟到300ms确保DOM完成 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • dc3f6b72c6 feat: 中间视图自动适配显示所有内容 - 添加fitToView函数计算内容边界并自动缩放 - 模拟结束后自动调用适配视图 - 首次渲染100ms后也调用一次适配 - 确保三个圆都能完整显示在视口中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

4 days ago

yangxiaohui created new branch how_1127_v1 at yangxiaohui/how

4 days ago

yangxiaohui pushed to how_1125_v1 at yangxiaohui/how

  • d3022c2454 Merge remote-tracking branch 'origin/how_1125_v2' into how_1125_v1
  • 8d67e969d1 feat: 添加帖子树可视化,优化布局为三层结构 - 新增 build_post_tree.py 预构建帖子树数据 - 帖子树展示:帖子卡片 -> 维度 -> 点(六边形) -> 标签 - 移除帖子点圆,改为三层垂直布局(帖子标签、人设匹配1层、人设匹配2层) - 帖子卡片白色边框,可点击查看详情模态框 - 点->标签边显示权重(浮点数) - 边统一连接到帖子卡片下边框中心 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • a70cd23ef9 feat: 添加跨层边提取和图谱流程一键脚本 - 新增跨层边提取逻辑:获取直接匹配层(第2层)和扩展层(第3层)之间的非属于类型边 - 新增 run_graph_pipeline.sh:一键执行步骤5-9的图谱构建与可视化流程 - 更新统计输出:新增跨层边数统计 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 81f6ab587f refactor: 重命名图层标签 人设匹配 → 人设匹配_1层 人设扩展 → 人设匹配_2层 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • c47cfcbbd9 feat: 关系图展示完整路径并支持点击交互 - 点击镜像边/二阶边时展示路径上所有人设节点和边 - 关系图中节点可点击展开关系图 - 关系图中边可点击高亮对应节点和边 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • View comparison for these 6 commits »

4 days ago

yangxiaohui pushed to how_1125_v2 at yangxiaohui/how

  • a70cd23ef9 feat: 添加跨层边提取和图谱流程一键脚本 - 新增跨层边提取逻辑:获取直接匹配层(第2层)和扩展层(第3层)之间的非属于类型边 - 新增 run_graph_pipeline.sh:一键执行步骤5-9的图谱构建与可视化流程 - 更新统计输出:新增跨层边数统计 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 81f6ab587f refactor: 重命名图层标签 人设匹配 → 人设匹配_1层 人设扩展 → 人设匹配_2层 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • c47cfcbbd9 feat: 关系图展示完整路径并支持点击交互 - 点击镜像边/二阶边时展示路径上所有人设节点和边 - 关系图中节点可点击展开关系图 - 关系图中边可点击高亮对应节点和边 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 36e1132d87 fix: 统一使用预计算路径节点高亮帖子标签边 合并镜像边和二阶边的高亮逻辑,直接使用边详情中的路径节点列表 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 7f86de3a26 fix: 扩展层排除已在直接匹配层的节点 避免同一节点同时出现在第3层(直接匹配)和第4层(扩展), 导致第4层节点和帖子标签产生不正确的匹配边 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

4 days ago

yangxiaohui created new branch how_1125_v2 at yangxiaohui/how

4 days ago

yangxiaohui pushed to how_1125_v1 at yangxiaohui/how

  • 7f86de3a26 fix: 扩展层排除已在直接匹配层的节点 避免同一节点同时出现在第3层(直接匹配)和第4层(扩展), 导致第4层节点和帖子标签产生不正确的匹配边 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 4207fcbb3c feat: 优化边点击高亮,预计算路径节点 - 统一镜像边和二阶边的边详情结构,使用源人设节点/目标人设节点 - 在数据构建阶段预计算路径节点列表,简化前端高亮逻辑 - 分离highlightEdge和syncTreeAndRelationGraph职责 - 点击人设边可正确高亮对应的镜像边和完整路径 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 7032231c79 feat: 优化hover交互,隐藏无关节点和边 - hover时隐藏(而非灰化)不在路径上的边和节点 - 使用visibility:hidden保持布局不变 - 移除renderEgoGraphEdge中多余的SVG标题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • d54ab25b6c feat: 优化关系图与人设树联动,修复多边显示 - 修复边查找方向为单向(属于/包含沿边方向查找) - 支持同一对节点间多条边用曲线分开显示 - 修复数据生成中重复"属于"边的问题 - 人设树高亮与关系图配置同步(反选后同步更新) - 添加"重置"按钮恢复默认配置 - 级联下拉框支持滚动 - "包含"边颜色改为淡粉色,与其他边区分 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 80bd99c744 refactor: 提取相似度阈值为常量配置 - 去掉特征列表的权重展示 - 调整相似度阈值: 相同>=0.8, 相似>=0.6, 无关<0.6 - 新增 get_similarity_status() 函数统一处理阈值判断 - 所有硬编码阈值替换为常量引用,便于维护 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • View comparison for these 10 commits »

5 days ago

yangxiaohui pushed to how_1125_v1 at yangxiaohui/how

  • 710226ad29 feat: 优化边颜色区分度,统一节点样式 - 分类共现(点内)改为蓝色(#3498db),与跨点的绿色(#2ecc71)明显区分 - 移除节点虚线边框区分,统一使用实线 - 简化图例,移除不必要的节点类型区分 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 40a7b792e3 feat: 统一人设树和关系图的交互逻辑 - 添加第四层关系图(Ego Graph)显示点击节点的相关节点和边 - 提取共享函数 handleNodeClick/handleEdgeClick,人设树和关系图复用 - 统一节点样式:实心填充维度颜色,高亮不变粗 - 统一边样式:全部实线,高亮只改透明度不变粗 - 点击前先重置所有高亮状态,避免残留 - 点击任意空白区域同时取消人设树和关系图高亮 - 移除"包含"边(与"属于"重复) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 13114f5c37 feat: 添加层间排斥力,保持四层节点分离 - 新增 forceLayerSeparation 自定义力函数 - 不同层的节点如果Y距离小于阈值(12%高度)则相互排斥 - 根据节点层级编号(0-3)判断排斥方向 - 确保四层结构清晰分离不重叠 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 81d48221b6 feat: 添加帖子点节点层级,支持四层图结构 - 新增帖子点节点(灵感点/关键点/目的点的名称和描述) - 创建帖子标签→帖子点的"属于"边 - 更新可视化为四层布局: - 第1层:帖子点节点(六边形) - 第2层:帖子标签节点(圆形) - 第3层:人设标签节点(圆形) - 第4层:人设分类节点(方形) - 点节点tooltip显示描述信息 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • a38e8f0465 feat: 完善匹配图构建和可视化功能 - 包含所有帖子特征节点(即使没有匹配到人设节点) - 添加"已匹配"标记区分匹配/未匹配状态 - 未匹配节点使用较低透明度和灰色显示 - 统一镜像边和二阶边样式(使用相同颜色和虚线) - 增加帖子节点间的布局间距(排斥力、链接距离、碰撞半径) - 优化力导向模拟参数减少节点重叠 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • View comparison for these 7 commits »

5 days ago

yangxiaohui pushed to how_1125_v1 at yangxiaohui/how

  • e69fe2671c feat: 添加数据分析脚本并更新默认账号配置 - 添加 analyze_first_step.py 和 analyze_first_step_v2.py 用于首步分析 - 添加 filter_how_results.py 用于筛选 how 结果 - 更新默认账号为 阿里多多酱 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 8323cee9c8 feat: 为可视化脚本添加命令行参数支持 允许通过命令行参数指定账号名称: python script/data_processing/visualize_how_results.py 摸鱼阿希 如果不提供参数,则按优先级使用: 1. 环境变量 ACCOUNT_NAME 2. 配置文件中的 default_account 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • c6e65c4131 chore: 删除根目录下的临时测试文件 移除根目录下的测试脚本: - test_clean_json.py - test_hybrid_case.py - test_model_cache.py - test_relation_analyzer.py 这些是临时测试文件,不再需要保留在代码库中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • bbfd5a7778 refactor: 优化匹配流程和进度显示 - 统一进度回调接口,简化参数传递 - hybrid_similarity: 合并 llm_progress_callback 和 embedding_progress_callback 为单一 progress_callback - semantic_similarity: 添加进度回调支持 - text_embedding_api: 移除未使用的 max_concurrent 参数 - 改进进度显示 - 使用 tqdm 替代自定义 ProgressTracker - 每个帖子独立显示进度条 - 更清晰的任务进度展示 - 优化保存策略 - 每个帖子处理完立即保存,避免内存积累 - 改为串行处理,便于错误定位和进度跟踪 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 7899041068 fix: 修正默认路径配置以支持标准目录结构 - 更新全局默认路径从旧结构到新结构 - current_posts: what单独解构 → 解构内容/what单独 - historical_posts: 用于pattern聚类 → 解构内容/pattern聚类 - 移除账号级别的冗余路径配置,统一使用默认配置 - 新增"摸鱼阿希"账号到配置列表 现在所有使用标准目录结构的账号都可以直接运行,无需单独配置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

6 days ago

yangxiaohui created new branch how_1125_v1 at yangxiaohui/how

6 days ago

yangxiaohui pushed to how_1124_v2 at yangxiaohui/how

  • e69fe2671c feat: 添加数据分析脚本并更新默认账号配置 - 添加 analyze_first_step.py 和 analyze_first_step_v2.py 用于首步分析 - 添加 filter_how_results.py 用于筛选 how 结果 - 更新默认账号为 阿里多多酱 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 8323cee9c8 feat: 为可视化脚本添加命令行参数支持 允许通过命令行参数指定账号名称: python script/data_processing/visualize_how_results.py 摸鱼阿希 如果不提供参数,则按优先级使用: 1. 环境变量 ACCOUNT_NAME 2. 配置文件中的 default_account 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • c6e65c4131 chore: 删除根目录下的临时测试文件 移除根目录下的测试脚本: - test_clean_json.py - test_hybrid_case.py - test_model_cache.py - test_relation_analyzer.py 这些是临时测试文件,不再需要保留在代码库中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • bbfd5a7778 refactor: 优化匹配流程和进度显示 - 统一进度回调接口,简化参数传递 - hybrid_similarity: 合并 llm_progress_callback 和 embedding_progress_callback 为单一 progress_callback - semantic_similarity: 添加进度回调支持 - text_embedding_api: 移除未使用的 max_concurrent 参数 - 改进进度显示 - 使用 tqdm 替代自定义 ProgressTracker - 每个帖子独立显示进度条 - 更清晰的任务进度展示 - 优化保存策略 - 每个帖子处理完立即保存,避免内存积累 - 改为串行处理,便于错误定位和进度跟踪 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 7899041068 fix: 修正默认路径配置以支持标准目录结构 - 更新全局默认路径从旧结构到新结构 - current_posts: what单独解构 → 解构内容/what单独 - historical_posts: 用于pattern聚类 → 解构内容/pattern聚类 - 移除账号级别的冗余路径配置,统一使用默认配置 - 新增"摸鱼阿希"账号到配置列表 现在所有使用标准目录结构的账号都可以直接运行,无需单独配置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

6 days ago

yangxiaohui created new branch how_1124_v2 at yangxiaohui/how

6 days ago

yangxiaohui pushed to how_1124_v1 at yangxiaohui/how

  • 8323cee9c8 feat: 为可视化脚本添加命令行参数支持 允许通过命令行参数指定账号名称: python script/data_processing/visualize_how_results.py 摸鱼阿希 如果不提供参数,则按优先级使用: 1. 环境变量 ACCOUNT_NAME 2. 配置文件中的 default_account 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

1 week ago

yangxiaohui pushed to how_1124_v1 at yangxiaohui/how

  • c6e65c4131 chore: 删除根目录下的临时测试文件 移除根目录下的测试脚本: - test_clean_json.py - test_hybrid_case.py - test_model_cache.py - test_relation_analyzer.py 这些是临时测试文件,不再需要保留在代码库中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

1 week ago

yangxiaohui pushed to how_1124_v1 at yangxiaohui/how

  • bbfd5a7778 refactor: 优化匹配流程和进度显示 - 统一进度回调接口,简化参数传递 - hybrid_similarity: 合并 llm_progress_callback 和 embedding_progress_callback 为单一 progress_callback - semantic_similarity: 添加进度回调支持 - text_embedding_api: 移除未使用的 max_concurrent 参数 - 改进进度显示 - 使用 tqdm 替代自定义 ProgressTracker - 每个帖子独立显示进度条 - 更清晰的任务进度展示 - 优化保存策略 - 每个帖子处理完立即保存,避免内存积累 - 改为串行处理,便于错误定位和进度跟踪 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 7899041068 fix: 修正默认路径配置以支持标准目录结构 - 更新全局默认路径从旧结构到新结构 - current_posts: what单独解构 → 解构内容/what单独 - historical_posts: 用于pattern聚类 → 解构内容/pattern聚类 - 移除账号级别的冗余路径配置,统一使用默认配置 - 新增"摸鱼阿希"账号到配置列表 现在所有使用标准目录结构的账号都可以直接运行,无需单独配置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
  • 2b910b981c config
  • 458321e73f data
  • b927055b88 feat: 实现数据目录独立和版本化输出管理 主要改动: 1. 数据目录迁移到上级目录,支持多项目共享 2. 自动使用项目目录名作为输出版本(how_1124_v1) 3. 输出路径版本化隔离,便于对比不同版本结果 4. 支持灵活的数据根目录配置(环境变量 > 配置文件 > 默认值) 配置更新: - config/accounts.json: 添加 data_root 配置,输出路径支持 {version} 变量 - script/data_processing/path_config.py: 实现版本自动识别和路径变量替换 文档完善: - README.md: 项目快速参考指南 - docs/数据目录配置说明.md: 详细配置说明和使用场景 - docs/其他项目迁移指南.md: 迁移其他项目的步骤 - docs/迁移完成总结.md: 完整总结和最佳实践 数据目录结构: ../data/账号/{账号名}/how解构_outputs/{版本}/ ├── intermediate/ ├── results/ └── visualization/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

1 week ago

yangxiaohui created new branch how_1124_v1 at yangxiaohui/how

1 week ago